Here’s a quick tip on how to download files located at someone else’s remote web server onto your web host.
Let’s say that there’s a file located on someone else’s web server such as http://www.davidtan.org/randomfile.zip
1. Open up your SSH client such as putty and connect to your web host.
2. once connected in putty, use the wget command to download files to your web host. Example: wget http://www.davidtan.org/randomfile.zip
Yup, it’s as simple as that!
I had to do this after buying a website and needed to move/download files to my own server. Although you can also download the remote files to your own hard disk, and then reupload it to your own server, it is always faster to just tell your server to go get (using wget as above) the files you wanted and get it automatically downloaded. This way, you are saving yourself time and bandwidth.
Leave a Reply