Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question
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).

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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