Solved

FTP

Posted on 1998-06-12
6
470 Views
Last Modified: 2010-04-21
How can I copy file from one FTP server to another FTP server ?

Andrew
0
Comment
Question by:andrewyu
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
6 Comments
 
LVL 2

Accepted Solution

by:
stam061398 earned 30 total points
ID: 2007973
First, you can use the ftp protocol.
Second, it depends what your OS is.
i.e. if the both of them are UNIX-es, you can use simple tcp/ip protocols like rcp, rsh, etc.
If it is other OSes then the solution will look the same depends on what is it.

0
 

Author Comment

by:andrewyu
ID: 2007974
Can you give me some samples ?
0
 
LVL 2

Expert Comment

by:stam061398
ID: 2007975
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.


0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:andrewyu
ID: 2007976
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
0
 
LVL 2

Expert Comment

by:stam061398
ID: 2007977
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.

0
 

Author Comment

by:andrewyu
ID: 2007978
NO.

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

Andrew
0

Featured Post

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have been running these systems for a few years now and I am just very happy with them.   I just wanted to share the manual that I have created for upgrades and other things.  Oooh yes! FreeBSD makes me happy (as a server), no maintenance and I al…
Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

729 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question