Server Fault is a question and answer site for system and network administrators. 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

I am looking for a robust FTP transfer script that I can use with cron, any recommendations?

I would love a script in Python that could run in the background.

share|improve this question
up vote 1 down vote accepted

For most non-interactive (i.e. scriptable) FTP transfers wget (for downloads) and wput (for uploads) will do everything that is needed.

cURL is another option: it can do more, but is proportionately more complex too.

You'll find all the above in the standard repositories of just about any Linux distribution.

What tool is best, of these or the many other that are no doubt out there, depends on what your more exact needs are.

share|improve this answer

I used to use the ncftp suite, which included ncftpget and ncftpput. Still do, if I can get my old .SRPM to build (which is becoming an increasing rarity). Sadly, they seem to have fallen out of favor in the distributions I use.

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.