Re: PHP 4.0 Bug #8187: Partial FTP Downloads
| From: | Ron Chmara | Date: | Sun, 10 Dec 2000 04:06:11 +0000 |
| Subject: | Re: PHP 4.0 Bug #8187: Partial FTP Downloads | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-40725@lists.php.net to get a copy of this message | ||
adam@nwmedia.com.au wrote:
> From: adam@nwmedia.com.au
> Operating system: All
> PHP version: 4.0.3pl1
> PHP Bug Type: Feature/Change Request
> Bug description: Partial FTP Downloads
> 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.
For the near future, would a timer and a socket connection
serve your needs? For example, several mail checking functions
use direct connections over port 25 to verify mail server.
-Bop
--
Personal: ron@opus1.com, 520-326-6109, http://www.opus1.com/ron/
Work: rchmara@pnsinc.com, 520-546-8993, http://www.pnsinc.com/
The opinions expressed in this email are not neccesarrily those of myself,
my employers, or any of the other little voices in my head.