First of all sorry for posting this in the general chat forum but I'm not sure where it goes. I need to transfer many files in a directory from one host/server to another host/server. I use SmartFTP for my program. What is the best way to do this? It would take me forever to download and upload all of the files. I would really appreciate any help I get on this. Add on: I have Cpanel on the account I want to transfer from and Hosting Manager on the account I want to transfer to if that makes a difference.
Do you want to transfer the whole account over? If so then it is quite simple using WHM if you have root access. You just initiate a transfer. If you do not have WHM I would recommend you tar the files up in a directory and then wget them to the other server directory.
If u are Root on the server.. Login your server via SSH .. Write that code in ssh.. Cd /home /scripts/pkgacct yourcpanelusername When it finish..Write that.. ftp open yournewserverip yourusername yourpassword send /home/primaryuser/cpmove-USERNAME.tar.gz When it finish connect new your server as root via SSH .. mv cpmove-USERNAME.tar.gz /home cd /home /scripts/restorepkg USERNAME It is going to moved.. I hope u can understand..Sorry for my bad english
If you don't have root access, you'll need to generate a live backup from your old Cpanel and ftp it to the new server, you can then ask your new host to restore that backup for you
Another vote for SCP.... # scp -rp source-directory user@ip-address-of-other-serverestination- e.g. scp -rp /var/www/html root@123.456.789.10:/var/www/