andrewyu
asked on
FTP
How can I copy file from one FTP server to another FTP server ?
Andrew
Andrew
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
i.e. between two unixes :
1. rcp -p <source_host>:/<filename> <dest_host>:/<where_to_put >
2. (cd <source_dir>;tar cvf - .) | rsh <dest_host> "(cd <dest_dir>; tar xvf -)"
between to NT-s :
copy <source_file> \\<dest_comp>\<share-name> \<sub-dir>
These are the most simple ways to copy files between two systems.
1. rcp -p <source_host>:/<filename> <dest_host>:/<where_to_put
2. (cd <source_dir>;tar cvf - .) | rsh <dest_host> "(cd <dest_dir>; tar xvf -)"
between to NT-s :
copy <source_file> \\<dest_comp>\<share-name>
These are the most simple ways to copy files between two systems.
ASKER
But, if I want to write a program on Windows which can transfer a file from a FTP to another as both are on UNIX, how can I achieve that issue ?
Anyway, thank you very mcuh !
Andrew
Anyway, thank you very mcuh !
Andrew
What about writing a little utility that takes the file from the source to the Windows station (into temporary location), and after that, put it on the destination, all with the ftp commands.
ASKER
NO.
I want to copy from one FTP to another FTP directly !
Andrew
I want to copy from one FTP to another FTP directly !
Andrew
ASKER