View Full Version : From server to server
Lionel
Sun 6th Mar '05, 10:55am
I was just wondering if there was an easy way to transfer files from one server to another, without having to download those megabytes and reupload? Perhaps some kind of fopen() and copy?
AWS
Sun 6th Mar '05, 11:30am
FTP between the 2 servers would work.
Lionel
Sun 6th Mar '05, 11:48am
cool thank you. And how would I do that? One server got ssh, the other one has ftp. I was hoping some telnet connection such as wget but am not to sure how?
FiX
Sun 6th Mar '05, 1:27pm
wget http://www.domain.com/path/to/file.zip
splooge
Sun 6th Mar '05, 2:23pm
You can copy using ssh. To copy a file from the client machine to a place on the server running ssh:
scp filename.txt username@domain.com:/path/to/put/file
[Enter password]
To copy a file from the server to the client:
scp username@domain.com:/path/to/file .
[Enter password]
rh2004
Sun 6th Mar '05, 4:03pm
How about if you wanted to move from one datacentre to a new one, transfering all
accounts, files to a brand new server what would be the best way to do this?
AWS
Sun 6th Mar '05, 5:05pm
Same way would work as long as the old server is online.
Zachery
Sun 6th Mar '05, 5:14pm
I generaly use wget for moving files and databases, abit easier IMO. (as long as its a nix box :))
rh2004
Mon 7th Mar '05, 2:16am
I generaly use wget for moving files and databases, abit easier IMO. (as long as its a nix box :))
Yes thats waht I do, its quick :)
Lionel
Mon 7th Mar '05, 7:19am
Yes thats waht I do, its quick :)
That was easy. more than 500 megs.... wget is great
vBulletin® v3.8.0 Beta 4, Copyright ©2000-2008, Jelsoft Enterprises Ltd.