Alien has asked for the wisdom of the Perl Monks concerning the following question:

Hi monks!
I'm currently working on a download script that supports pause/resume .
I decided to go with IO::Socket on this . I'm curious , beside Tie::FTP , what other options a coder would have ?

Replies are listed 'Best First'.
Re: Download resumer
by zentara (Cardinal) on Feb 07, 2007 at 14:26 UTC
    curl and wget ( c programs ) do this effectively. I always use wget ... it will automatically resume, and restart if a connection breaks. That is hard to beat.

    I'm not really a human, but I play one on earth. Cogito ergo sum a bum

      check if the FTP server implements re-commands like reget etc... check if your favourite (client) module knows how to do it, and if not, following a strong impulse of hubris and impatience use your favourite copy-paste key

      cheers --stephan
Re: Download resumer
by ikegami (Patriarch) on Feb 07, 2007 at 18:24 UTC

    HTTP also supports resuming. (See the Range header, section 14.35.) LWP has no problems adding the necessary headers to HTTP requests.

Re: Download resumer
by Anonymous Monk on Feb 07, 2007 at 18:21 UTC
    LWP