#8187 [Opn->Csd]: Partial FTP Downloads
| From: | sesser@php.net | Date: | Sat, 15 Feb 2003 19:51:34 +0000 |
| Subject: | #8187 [Opn->Csd]: Partial FTP Downloads | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-33252@lists.php.net to get a copy of this message | ||
ID: 8187
Updated by: sesser@php.net
Reported By: adam@nwmedia.com.au
-Status: Open
+Status: Closed
Bug Type: Feature/Change Request
Operating System: All
PHP Version: 4.0.3pl1
New Comment:
This feature is already in PHP 4.3.0
Previous Comments:
------------------------------------------------------------------------
[2003-02-15 09:02:24] djcricketSPAM@SPAMdjcricket.com
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.
------------------------------------------------------------------------
[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