Tranferring files from my old host to my new...

They have: 10 posts

Joined: Jan 2002

Is there a program I can use to transfer files directly from my old host to my new host? I'd hate to download all my files then reupload them to my new host...

mjames's picture

They have: 2,064 posts

Joined: Dec 1999

If your site is database-driven, you could easily dump the data via SSH/telnet and then import it on the new server, but yours doesn't sound like that. I don't think there's a way around this. When I've switched hosts, I had to reupload all the files - which, aside from the Perl scripts that needed configuration - went smoothly because I had all the files already on my local drive. Just do the downloading/uploading and go get a cup of coffee. Smiling

They have: 9 posts

Joined: Mar 2002

If the hosts support FXP, you can use FlashFXP Smiling More Info:

http://www.flashfxp.com

mairving's picture

They have: 2,256 posts

Joined: Feb 2001

If you have shell access (Linux server), then I usually SSH into the site, tar and gzip files and directories:
tar cvf - public_html/ | gzip sitename.tar.gz
then open up a ftp session to the other server:
ftp serveripaddress
enter username, password,
mput sitename.tar.gz
logout
bye
Log into the server that you just ftp the files to and uncompress:
tar -xzvf sitename.tar.gz
and voila, it is done.

Mark Irving
I have a mind like a steel trap; it is rusty and illegal in 47 states

They have: 4 posts

Joined: Mar 2002

If you have Shell access (telnet/SSH) on your new host, simply type...
wget -m <yourdomain.com>'
this will download all your files, images and txt, to your new host and put them all in a folder

mairving's picture

They have: 2,256 posts

Joined: Feb 2001

Quote: Originally posted by peterd
If you have Shell access (telnet/SSH) on your new host, simply type...
wget -m <yourdomain.com>'
this will download all your files, images and txt, to your new host and put them all in a folder

True but it won't compress them to make transfers faster.

Mark Irving
I have a mind like a steel trap; it is rusty and illegal in 47 states

They have: 10 posts

Joined: Jan 2002

My old host doesn't allow telnet/ssh or fxp, I guess I'm going to just reupload everything. Thanks for answering Smiling

They have: 4 posts

Joined: Mar 2002

we in this case just do it my way, you only need SSH access on the new host Laughing out loud

They have: 10 posts

Joined: Apr 2002

Doing this through SSH on your new host, beleive me "It's Fast"

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.