File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
EJB 3 in Action
this week in the
EJB and other Java EE Technologies
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
Did you see how Paul
cut 87% off of his electric heat bill with 82 watts of micro heaters
subject: Shell script to FTP the files itno multiple server
script runs from command line, but from webmin it creates errors
Transfer of files thro. Linux 7.x
Need script to copy file on FTP server from Windows
ftp in crontab is not working
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