http://qs321.pair.com?node_id=547444


in reply to Net::FTP resume download

If you're just looking for a way to resume a failed transfer, and you know how many bytes you got before it failed, the "get" method supports an offset.

$ftp->get("that.file", "this.file", $bytes_already_downloaded);
You could also try Net::FTP::AutoReconnect, which appears to do something similar to what you want.

Xaositect - Whitepages.com

Replies are listed 'Best First'.
Re^2: Net::FTP resume download
by jdtoronto (Prior) on May 04, 2006 at 16:48 UTC
    Net::FTP::AutoReconnect is nice for hiding some of the intricacies of the FTP session, and it will handle reconnecting and re-establuishment of the environment, but it does not implement a 'resume interupted download' facility. That you will need to write for yourself!

    jdtoronto