A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Android Security Essentials Live Lessons
this week in the
Linux / UNIX
Shell script to FTP the files itno multiple server
Joined: Sep 23, 2011
Aug 31, 2012 02:36:42
Anyone can help me to write Linux script that will FTP the files every hour into different servers ?
Ivan Jozsef Balazs
Joined: May 22, 2012
Aug 31, 2012 05:35:49
A possibility is to use the interactive ftp client program from a shell script.
As this client program was meant to be used interactively, and not from a script, the error handling from a shell script is cumbersome but feasible.
Joined: Oct 02, 2003
Sep 01, 2012 07:59:53
I've never done it as a shell script, but it is pretty simple in Perl.
There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors
I agree. Here's the link:
subject: Shell script to FTP the files itno multiple server
ftp in crontab is not working
Need script to copy file on FTP server from Windows
script runs from command line, but from webmin it creates errors
Transfer of files thro. Linux 7.x
Find Num of files in FTP Server directory
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014