具有恢复功能的服务器的PHP远程下载文件

时间:2017-05-26 20:13:53

标签: php resume-download

我有用户可以从其他服务器/ URL下载文件。 这是示例代码,但可恢复的下载不起作用,当尝试从开始下载时

POReceiptLine poRow = PXSelectJoin<POReceiptLine,
	LeftJoin<POReceiptLineSplit,
		On<POReceiptLine.receiptNbr, Equal<POReceiptLineSplit.receiptNbr>,
			And<POReceiptLine.inventoryID, Equal<POReceiptLineSplit.inventoryID>,
			And<POReceiptLine.lineNbr, Equal<POReceiptLineSplit.lineNbr>>>>>,
	Where<POReceiptLine.inventoryID, Equal<Required<POReceiptLine.inventoryID>>,
			And<POReceiptLineSplit.lotSerialNbr, Equal<Required<POReceiptLineSplit.lotSerialNbr>>,
			And<POReceiptLine.receiptType, Equal<Required<POReceiptLine.receiptType>>>>>>.Select(graph, row.InventoryID, row.LotSerialNbr, "RT");

我测试了一些代码但类似的行为

Download with resume

http://www.media-division.com/php-download-script-with-resume-option/

0 个答案:

没有答案