How to wget multiple files

Using wget with many files

Getting multiple files with wget command is very easy. Run the wget -r URL command. The -r option is for recursive download. It will download the entire directory. See the sample below:

wget -r http://www.yahoo.com/images/

This example will download all image file inside the /images/ directory of the yahoo.com website.


Downloading files with wget from a password-protected site

In some cases you might need to copy files from a password-protected site. Here's how to do it from your cPanel for example:

wget -r http://username:password@Domain.com/folder

Home   Our knowledge base   Sitemap   Contact           Terms of Service   Privacy Policy   Usage Policy           © 2002-2010, All rights reserved, Atlantic Silicon Inc.