The best way is to use SCP (Secure Copy) if you have SSH access to the other server. If you don't have SSH access then see
fastcopy example in Linux.
Code: Select all
scp -r user@host:/directory/SourceDir TargetDir
Note -r will recursively copy all files and subdirectories within the folders.