We help IT Professionals succeed at work.

FTP

andrewyu
andrewyu asked
on
Medium Priority
498 Views
Last Modified: 2010-04-21
How can I copy file from one FTP server to another FTP server ?

Andrew
Comment
Watch Question

Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION

Author

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


Author

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

Author

Commented:
NO.

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

Andrew
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a sample view!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.