A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
PostGIS in Action
this week in the
JDBC and Relational Databases
Java Advanced Topics Training
Java in General
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
It is sorta covered in the
JavaRanch Style Guide
subject: Shell script to FTP the files itno multiple server
Transfer of files thro. Linux 7.x
ftp in crontab is not working
script runs from command line, but from webmin it creates errors
Find Num of files in FTP Server directory
Need script to copy file on FTP server from Windows
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015