?
Solved

FTP

Posted on 1998-06-12
6
Medium Priority
?
475 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 60 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
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 

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 real performance insights from real users

Key features:
- Total Pages Views and Load times
- Top Pages Viewed and Load Times
- Real Time Site Page Build Performance
- Users’ Browser and Platform Performance
- Geographic User Breakdown
- And more

Question has a verified solution.

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

Installing FreeBSD… FreeBSD is a darling of an operating system. The stability and usability make it a clear choice for servers and desktops (for the cunning). Savvy?  The Ports collection makes available every popular FOSS application and packag…
Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Suggested Courses
Course of the Month11 days, 16 hours left to enroll

752 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