Web Hosting Talk







View Full Version : Help me to transfer files to my new server, please !


tommyquang
11-30-2004, 06:17 AM
Hi everyone,

I used SSH with command " wget http://old-server.com/Music/files.mp3 " to download some files from another my web, because i want to transfer those files to my new server, after i finished download, i tried to download those files from my new site ( http://new-server/Music/files.mp3 ) it work ! but when i log in to that domain via FTP and look at that folder "public_html/Music/ " but i cant find and see any those files !:( Do you know that why ?

Is there any possible to transfer whole Folder/Files to my new server via SSH by only 1 command ? EX: " home/username/public_html] wget http://old-server.com/Music/ " is it possible ?

Thank you so much ! :)

carphost
11-30-2004, 08:17 AM
Originally posted by tommyquang
Hi everyone,

Is there any possible to transfer whole Folder/Files to my new server via SSH by only 1 command ? EX: " home/username/public_html] wget http://old-server.com/Music/ " is it possible ?

Thank you so much ! :)

on new server do this:

# scp oldserver.somedomain.com:/home/username/public_html/* /home/username/public_html/


-Scott

firestarter
11-30-2004, 09:35 AM
You can mget the files, which allows to download multiple files. Another best option is compress the folder and the wget the tar file.

tommyquang
12-01-2004, 09:08 PM
Originally posted by firestarter
You can mget the files, which allows to download multiple files. Another best option is compress the folder and the wget the tar file.

Thank you for help, so can you tell me what is " mget " ?

gate2vn
12-01-2004, 10:26 PM
QT, you are welcome to make a search, google is your friend ;) http://linux.about.com/od/commands/l/blcmdl1_ftp.htm