There is a script (bsh) running in a AIX 7.1 machine. The script is to download some files via FTP from another machine. I need to stop it later because some guy need to have maintenace over the machine, even if the script is not finished.

So I would like to know, if I re-run the script later, can I configure the ftp client to skip the file if a local copy already exist and is identical to the remote one?

link|improve this question

43% accept rate
feedback

1 Answer

up vote 2 down vote accepted

Short answer no.

FTP is a blunt tool. Use wget which does provide this functionality and can pull files from an FTP server.

An even better option is to use rsync (over ssh).

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.