![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| sync files from two different servers. | madan1 | Shell Programming and Scripting | 2 | 03-10-2009 12:50 PM |
| Need to calculate sftp time beteen two servers. | koulvivek | UNIX for Dummies Questions & Answers | 2 | 12-10-2008 01:28 PM |
| Unable to scp/sftp between two servers | DeCoTwc | UNIX for Dummies Questions & Answers | 1 | 09-12-2008 04:11 PM |
| SFTP Transfer Across Multiple Servers | Cameron | Shell Programming and Scripting | 0 | 05-20-2008 10:08 AM |
| need script to connect sftp servers | kittusri9 | Shell Programming and Scripting | 1 | 05-10-2008 06:13 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
SFTP files to two servers
Hi,
I need to write a unix shell script which sends files to a server1 from my server via sftp. Then it needs to again SFTP files from that server1 to another server2. And finally remove the transferred files in the intermediate server1. Please provide me pointers on how to achieve the same. All are unix flavored servers. Your inputs are greatly appreciated. Thanks in advance. |
|
||||
|
Thanks Tony.
The requirement is that I should not run a cron job from the server1 (intermediate server). But what I am thinking to do is that I shall login using scp on server2 in my second script from my local server and will fetch the data via ftp from server1 using the commands suggested by you. Please let me know whether this approach will work. Thanks again for your help. |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|