Automatic FTP retry?

Góra strony
Załączniki:
Wiadomość jako email
+ (text/plain)
Delete this message
Reply to this message
Autor: Kurt
Data:  
Temat: Automatic FTP retry?
On Monday, June 30, 2003, at 09:25 PM, Alan Dayley wrote:
> Is there an FTP client, or script, that will keep trying to connect to
> an FTP server and download a specific file


I strongly suggest looking at ncftpget (or just ncftp if you are using
an older distro). ncftp has options galore for handling everything to
do with FTP. The option you are looking for is '-r'

        -r XX   Redial  a  maximum  of XX times until connected to
                the remote FTP server.


So something like this should work:

ncftpget -r 99 ftp://ftp.domain.com/pub/something.iso

That might even take care of resuming partial/broken downloads as well.