ID: 39135 Comment by: charlie07 at gmx dot net Reported By: third-chance at gmx dot de Status: Open Bug Type: Feature/Change Request Operating System: Windows XP SP2 PHP Version: 5.1.6 New Comment:
Since installing the PECL HTTP extension is not always possible (especially on shared hosts), i fully support this request. Supporting partial downloads is otherwise impossible. Previous Comments: ------------------------------------------------------------------------ [2006-10-12 13:10:41] third-chance at gmx dot de Description: ------------ To allow resuming http-downloads a php-script must be able to deliver a specific range from a file. Although you can use fseek to start from a specific offset, their is no way of telling fpassthru to stop before the eof. I would like to see an optional argument 'length', which stops after sending n bytes. This would be similar to the argument of the fwrite function. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=39135&edit=1