Link to home
Start Free TrialLog in
Avatar of andrewyu
andrewyu

asked on

FTP

How can I copy file from one FTP server to another FTP server ?

Andrew
ASKER CERTIFIED SOLUTION
Avatar of stam061398
stam061398

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of andrewyu
andrewyu

ASKER

Can you give me some samples ?
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.


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
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.

NO.

I want to copy from one FTP to another FTP directly !

Andrew