ID: 8187
Comment by: djcricketSPAM@SPAMdjcricket.com
Reported By: adam@nwmedia.com.au
Status: Open
Bug Type: Feature/Change Request
Operating System: All
PHP Version: 4.0.3pl1
New Comment:
I'd like to second this, but for an entirely different reason.
It would be nice if the ftp_[fput/fget] functions took a 5th, length
parameter, so developers could use it similarly to fread/fwrite.
This would facilitate the ability to output the progress of the
upload/download, because currently, there appears to be no way to let
users know that script is actually downloading something. Developers
can mearly output something like 'File downloading, please wait...' and
hope the user is patient when downloading larger files.
Previous Comments:
------------------------------------------------------------------------
[2000-12-09 22:52:00] adam@nwmedia.com.au
Just a short simple feature request:
I'd really love the ability to be able to do partial
FTP downloads. At the moment the ftp_get() functions
download the entire file.
It'd be nice to have an optional parameter with how
many bytes to download.
The reason I ask is that it would be infinitely useful
for my FTP search engine. Being able to partial download
(say 1000 bytes) lets me know whether a particular
FTP site has a ratio or some sort of download restrictions.
Thanks in advance.
-Adam
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=8187&edit=1