Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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?

thanks.

share|improve this question

3 Answers 3

up vote 3 down vote accepted

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.

EDIT:

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.

share|improve this answer
    
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. –  Iain Sep 10 '11 at 10:17
    
or just "scp filename.zip username@hostname:~/". It'll prompt for a password. –  Matt 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.

share|improve this answer

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.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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