FTP Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationFTP Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Be the architects of evolution and help create the mobile internet future. It’s your move---enter to win here!
  #1  
Old December 30th, 2003, 04:38 AM
Chetan Chetan is offline
Chetan
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2003
Location: Delhi, India
Posts: 2 Chetan User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via ICQ to Chetan Send a message via AIM to Chetan Send a message via Yahoo to Chetan
Question FTP files from one server to another

i have two servers and need to transfer files from one server to another.

i transfer files from server1 to my c:\temp (using mget) then from c:\temp to server2( using mput).

My question is that :

"Is it possible to transfer files directly from server 1 to server2 without using C:\temp as a buffer?"

if yes then how.

Further i wish to put this entire ftp exercise in a script. how to go abt that?

Reply With Quote
  #2  
Old December 30th, 2003, 09:15 AM
freebsd freebsd is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 5 freebsd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
What is there to do with UNIX?

Reply With Quote
  #3  
Old December 30th, 2003, 09:21 AM
christo's Avatar
christo christo is offline
Introspective
Dev Shed Loyal (3000 - 3499 posts)
 
Join Date: Nov 2001
Location: London, UK
Posts: 3,296 christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level)christo User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 3 Days 1 h 5 m 42 sec
Reputation Power: 101
Send a message via ICQ to christo Send a message via Yahoo to christo
man scp

christo

Reply With Quote
  #4  
Old December 30th, 2003, 09:34 AM
fpmurphy fpmurphy is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2003
Location: USA
Posts: 257 fpmurphy User rank is Corporal (100 - 500 Reputation Level)fpmurphy User rank is Corporal (100 - 500 Reputation Level)fpmurphy User rank is Corporal (100 - 500 Reputation Level)fpmurphy User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 23 h 46 sec
Reputation Power: 6
If you have a login on both servers, then simply log in
to server 1 and ftp the files to server 2 using mput.

Some, but not all, versions of ftp accept input via
shell heredoc i.e.

ftp server 2 <<FPM
user ....
password ....
mput filenames
FPM

- Finnbarr

Reply With Quote
  #5  
Old December 31st, 2003, 01:38 AM
Chetan Chetan is offline
Chetan
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2003
Location: Delhi, India
Posts: 2 Chetan User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via ICQ to Chetan Send a message via AIM to Chetan Send a message via Yahoo to Chetan
now i ftp to a server1 then following commands:
lcd to local drive( c:\temp)
then mget files
then ftp to server2 then following commands:
lcd to local drive( c:\temp)
then mput files

now u r saying ftp to server1 then
wat commands shall i use. i mean the complete syntax of mput command.

Reply With Quote
  #6  
Old July 1st, 2008, 01:41 PM
andybush2 andybush2 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2008
Posts: 2 andybush2 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 10 m 30 sec
Reputation Power: 0
Also, there is an easiear way for those who are not programming savy - directransfer.net
I found it recently and it seems to do the job for me.

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationFTP Help > FTP files from one server to another


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway