Re: [PHP-DEV] PHP 4.0 Bug #8187: Partial FTP Downloads From: Ron Chmara (ron <email protected>)
Date: 12/09/00

adam <email protected> wrote:
> From: adam <email protected>
> 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 <email protected>, 520-326-6109, http://www.opus1.com/ron/
Work: rchmara <email protected>, 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.

-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>