Forum Moderators: phranque

Message Too Old, No Replies

Transfering from old host to new host using SSH

         

railroadfan

4:49 pm on Apr 15, 2006 (gmt 0)

10+ Year Member



I've been browsing and browsing, and just can't find my answer, so hopefully someone can help. I'm moving my website from my current host at <snip>, and moving it to <snip> hosting. I have SSH and Shell access on the <snip - current host> server. I can FTP to <snip - new host>, but no Shell access there. I am looking for some way to move whole directories from <snip - current> to <snip - new>. Any command lines to use to move directories would be fine, or even a graphical Shell to transfer straight from <snip - current> to <snip - new> for a server to server transfer. I tried using ftp for server to server, but it runs through my slow cable connection upload speed, and want to just go site to site. Any suggestions on programs to use that allows this, or shell commands? I believe Yahoo will not untar a zipped file, but am unsure, due to their 30 min waits to talk to a human. Thanks for any help anyone can give.

[edited by: trillianjedi at 5:23 pm (utc) on April 15, 2006]
[edit reason] No specifics please...... as per TOS [/edit]

jomaxx

4:57 pm on Apr 15, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Can you set up an FTP connection from <snip - current> to <snip - new>? You could try command-line FTP or installing a client. I don't know if command-line FTP will support moving entire directories with all subdirectories, but I don't see why not.

[edited by: trillianjedi at 5:24 pm (utc) on April 15, 2006]

railroadfan

1:23 am on Apr 16, 2006 (gmt 0)

10+ Year Member



I can connect on the current host using shell access, and then FTP to the new host. I am able to send individual files, one at a time, but can't find a way to upload a whole directory or uploading subdirectories. Any ideas?

jomaxx

4:33 am on Apr 16, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



A few minutes' research suggests that the key is to use the FTP commands mput and mget, if available.