: How can I transfer files from one server to another server using FTP How can I transfer remote files from one FTP server straight to another FTP server?
How can I transfer remote files from one FTP server straight to another FTP server?
More posts by @Ann8826881
5 Comments
Sorted by latest first Latest Oldest Best
EDIT: I just saw that you're using Windows. You'll need something like Cygwin to emulate the Unix toolkit on Windows. Alternatively, you could use something like WinSCP.
As alexus pointed out, SCP is a great option. Another option is Unix/Linux's rsync (available on almost all Unix-based machines). It's a utility that's frequently used for back-ups.
For transferring between two servers, abc.com and xyz.com:
rsync -avzPe ssh user@xyz.com:/source/ /destination/on/abc
A more practical example:
rsync -avzPe ssh admin@xyz.com:~/public_html/ ~/public_html/
A few notes: The above example assumes you're logged into server abc.com. If you desire to go the other way, switch the arguments. The user (admin in this case) also needs to have appropriate SSH access. Finally, the flags that I used aren't necessarily the only ones that will work, they're just ones that I tend to use. You can technically do without -v and -P, you'll just see less useful console output.
If you have SSH access the best way would be to use NIX tar command (compress), and then using scp to transfer it over new hosting and then again using tar to uncompress, and keep a copy on your local drive for backup purposes.
You could use an app like WebDrive, which mounts remote FTP drives as if they were local drives (called a 'virtual drive'), then simply drag and drop the files from one virtual drive to the other on your own machine.
How it works
Download WebDrive here. (Mac or Windows, free 20-day trial)
Put in the FTP details for your example.com server to create the first virtual drive.
Put in the FTP details for your example.org server to create the second virtual drive.
Browse to the files you want to copy on the first virtual drive, and drag them to the second virtual drive.
WebDrive will copy them from the first FTP location to your machine (you don't see this step; it happens in the background), then copy them to the second FTP location for you. This is the closest you'll get to copying directly between FTP servers, without using the FXP protocol, which isn't widely supported yet.
WebDrive alternatives
In addition to WebDrive, you might also like to consider Transmit (Mac only) or Expandrive (Mac and Windows), which both offer the same remote disk mounting feature. (I use Transmit's Disk feature every day to save optimised images directly to the FTP server straight from Photoshop/Fireworks. It's great, but Expandrive and WebDrive both do this too.)
You can use a FTP program that supports the FXP protocol and your two servers need to support it too. Here's a few FTP applications that support FXP protocol:
SmartFTP
FlashFXP
CuteFTP Pro
An non-FXP alternative method could be to use WinSCP using pushing and pulling.
If you have SSH access to the source server then you can login to it and use the ftp command to start an ftp session with the destination server. You would need to use the command line to type in the ftp commands but it's not too hard and you can find tutorials online about it. For example: linux.about.com/od/commands/l/blcmdl1_ftp.htm
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.