in reply to FTP client that continues downloads
Use Net::FTP::get($remote_file, $local_file, $offset) where offset is the byte count at which you want to transfer to resume. For example if you have received a partial file, you can check how many bytes you have downloaded with -s $file, and then use that number as the offset argument to Net::FTP::get(). The remaining of the file will be appended to the local file.
Re: Re: FTP client that continues downloads
by acid06 (Friar) on Aug 31, 2001 at 20:58 UTC
|
Just a little coment about -s $file... it doesn't work as it should if you're running Windows (the file size is only updated when you close the file handle).
acid06 perl -e "print pack('h*', 16369646), scalar reverse $=" | [reply] [d/l] |
|