note 96373 deleted from function.fread by danbrown

From: Date: Tue, 23 Feb 2010 19:20:14 +0000
Subject: note 96373 deleted from function.fread by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-166300@lists.php.net to get a copy of this message
Note Submitter: bilalghouri at live dot com ---- hello. The function dl_file_resumable works with local files only. I wonder if someone could modify it to work with remote files too. So far Ive done this : write my own get remote filesize function. modified dl_file_resumable , removed the file exist check. added my remote filesize, it does work then with remote files. but does not resume, I assume its becuz the check filesize does not have seek support.. Im using curl to get headers for the filesize... Maybe someone could improve it.

« previous php.notes (#166300) next »