|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Be the architects of evolution and help create the mobile internet future. It’s your move---enter to win here! |
|
#1
|
|||
|
|||
|
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? |
|
#2
|
|||
|
|||
|
What is there to do with UNIX?
|
|
#3
|
||||
|
||||
|
man scp
christo
__________________
. Spiration channels: Free scripts, programming tutorials and articles Dotcut alerts: Online Press cuttings / news alerts Clearprop: UK microlight school, wiltshire Uk dating: UK safe dating with Topdates About Christo . . |
|
#4
|
|||
|
|||
|
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 |
|
#5
|
|||
|
|||
|
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. |
|
#6
|
|||
|
|||
|
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. |
![]() |
| Viewing: Dev Shed Forums > System Administration > FTP Help > FTP files from one server to another |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|