Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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
add comment

2 Answers

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
add comment

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
add comment

Your Answer

 
discard

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.