• Dear Pleskians! The Plesk Forum will be undergoing scheduled maintenance on Monday, 7th of July, at 9:00 AM UTC. The expected maintenance window is 2 hours.
    Thank you in advance for your patience and understanding on the matter.

How to i transfer files from 1 server to another

D

dstanley

Guest
Is there another way to transfer files from one server to another other than putting said files in a directory viewable to the web and using wget.

FTP, and if so, how?

Both are plesk servers.
 
You can use scp, which is the most reliable way to transfer. Try:

man scp

from command line.
 
Another suggestion, use rsync. Rsync will synchroize the files from one system to another, and when used multiple times will only transfer the files that have changed. In addition it will maintain ownership, and permissions from one system to another. Example:

rsync -av -e ssh <source> <destination>

example2:
rsync -av -e ssh [email protected]:/home/httpd/ /backup/home/httpd/

This would copy all the files from the directory /home/httpd/ on server1.domain.com, to /backup/home/httpd/ on the system from which you are running rsync.
 
Back
Top