Archive for November, 2009

Nov 6th


Resume HTTP downloads in PHP using cURL or fsockopen

7 years 9 months ago comment 1 Comment

This post describes a method to download a file using a PHP script and resume the download if the previous download was interrupted. The code here could be used while downloading a new version of a PHP application from the application author’s website. Two implementation examples are provided – one using cURL and another using fsockopen.