The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
transfer files from the server 1 to server 2 bomozah Linux 2 11-03-2008 07:11 AM
copying files from one server to another server manoj.solaris Shell Programming and Scripting 4 10-19-2008 07:20 AM
moving files from one server to another uniksbro UNIX for Dummies Questions & Answers 1 07-31-2007 04:20 PM
FTP multiple files from remote server to local server berlin_germany Shell Programming and Scripting 2 12-20-2006 03:24 AM
files of dns server themask UNIX for Advanced & Expert Users 2 01-01-2002 11:38 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 04-01-2009
samit_9999 samit_9999 is offline
Registered User
  
 

Join Date: Sep 2006
Posts: 21
FTP Files from one server to another

Hi,

I want to run a process on server a, pulling files from server b and pushing it to server c.

Can i do that without dropping the files on server a?

Thanks,
Samit

Last edited by samit_9999; 04-01-2009 at 01:38 PM..
  #2 (permalink)  
Old 04-01-2009
jim mcnamara jim mcnamara is offline Forum Staff  
...@...
  
 

Join Date: Feb 2004
Location: NM
Posts: 5,777
Not ftp - look into scp instead.
  #3 (permalink)  
Old 04-01-2009
marcus121 marcus121 is offline
Registered User
  
 

Join Date: Apr 2006
Location: Massachusetts
Posts: 34
As Jim said, scp (secure copy). It functions much the same as copy and even has the "preserve" option (dash-p) so the transfered files maintain their original date/time stamp, permissions, etc.

Say you want to copy files whose names include today's date-stamp in /nas1/prod/data of node "penguin" to /nas3/dev/data of node "seal" and you are on irrelevant server. Your user ID is samit on penguin and s99 on seal. Oh, and you want to preserve the file attributes of the source files. Here's what you would type:
Code:
irrelevant$ scp -p samit@penguin:/nas1/prod/data/*20090401* s99@seal:/nas3/dev/data
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 02:34 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0