• Post Reply Bookmark Topic Watch Topic
  • New Topic

Shell script to FTP the files itno multiple server  RSS feed

 
jaya kemmannu
Ranch Hand
Posts: 95
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Hi,

Anyone can help me to write Linux script that will FTP the files every hour into different servers ?

Regards,
Jaya
 
Ivan Jozsef Balazs
Rancher
Posts: 999
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

 
fred rosenberger
lowercase baba
Bartender
Posts: 12565
49
Chrome Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've never done it as a shell script, but it is pretty simple in Perl.
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!