I have a live website that I want to change my hosting provider to a new hosting company. Currently I have several gigabytes of data as a .zip files in my old hosting environment that I want to shift to the new host. So is there any way to transfer these files between the 2 servers (my old hosting to my new hosting) online without re-uploading it from my PC?



This depends on what access you have to your current VPS. If you have command line access and can use FTP then you can use FTP to transfer the zip file to your new VPS.


FTP & SFTP have similar command sets so

use your remote vps username and password when asked

cd /to/the/directory/with/the/zipfile

sftp yournewhost.tld
User <your username>
Password: <your password>
sftp> put zipfile.zip
sftp> quit

At every point above you can substitute ftp for sftp if you want.

  • i thing i have full access to my VPS and i can use SSH, but relay i don't have a good knowledge with that, so can you please give me any tutorial link or how to do that exactly
    – ouss
    Sep 10 '11 at 8:55
  • I've added some notes on how to do it.
    – user9517
    Sep 10 '11 at 10:17
  • or just "scp filename.zip username@hostname:~/". It'll prompt for a password.
    – hookenz
    Sep 10 '11 at 10:38

If your host provides shell access, you can telnet/ssh into your old host, then ftp/sftp into your new host and transfer the files that way. That wouldn't require you to download to your PC then re-upload.


I would highly suggest Globus Online to do the file transfer if your transferring several gigabytes of information as Globus allows you to set up the file transfer and forget about it, while it handles things like file checking and automatically retransmitting files if errors are detected.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.