Need to migrate\back-up a web site that you don’t have access to the core files? Going through manually by hand is annoying and can take forever. Here is a simple script to download a majority of the web site files. It will not download files hosted on CDN’s or other domains, but it is a good starting point. First login to your linux or unix box. Then type the following command.
Note that if you do this too often, you might get blocked or kicked from a server, so beware of trying to take too much information too fast.
wget -r P . -A jpg,jpeg,gif,png,html,css,txt,php,pdf,js http://www.domainname
Now sit back and watch your machine do the work.