Automatic FTP retry?

Kezdőlap
Csatolmányok:
Üzenet email-ben
+ (text/plain)
Üzenet törlése
Válasz az üzenetre
Szerző: Eric Lee Green
Dátum:  
Tárgy: Automatic FTP retry?
On Monday 30 June 2003 06:45 pm, Jeremy C. Reed wrote:
> while ! wget ftp://ftp.domain.com/pub/iso/thisfile.iso ; do
> echo trying again ; done


As someone who operates a public access ftp site, I'd really, really, REALLY
appreciate it if folks would at least put a "sleep 5s" into that script to
keep it from hammering the FTP server so hard! (Granted, I don't run a high
volume site, but a Pentium 166 can only serve so many FTP sessions at a time,
y'know?).

--
Eric Lee Green mailto:eric@badtux.org
Unix/Linux/Storage Software Engineer needs job --
see http://badtux.org for resume