We have found that using wget to recursively grab FTP contents is useful in the following situation:
You cannot use rsync or scp due to restricted or no shell access on the remote server
You need to recursively get directories and globbing with mget * isn't working as expected
Transferring files to an intermediate workstation first are not feasible due to time/filesize constraints
If all of these apply ...
By pam, January 24, 2015
In this tutorial we will be using Rsync to synchronize a directory from Linux ServerA to Linux ServerB over SSH using two CentOS servers.
To begin we recommend you setup SSH keys between the two servers. To do this you can follow our below tutorials though is not required :
How to Set Up SSH Keys with Linux Commandline
How to add your SSH public key to CentOS
First lets make sure RSYNC is installed.
yum install rsync
By jason, March 17, 2015