How to download website and files using WGET

Wget Download

WGET is a tool to download files and crawl websites using the command line. It supports proxy servers, which can lighten the network load, speed up retrieval and provide access behind firewalls. Download WGET from official website CLICK .

After downloading  unpacked the associated zip file and open a command terminal by keyword “cmd” in the search menu. Go to the folder location where wget.exe stored using command.

WGET command Examples

The following command will download a file via a HTTP request-

wget abc.com/xyz.txt

Downloading all files in a directory

wget --ftp-user=FTP_USERNAME --ftp-password='FTP_PASSWORD' ftp://URL/PATH_TO_FTP_DIRECTORY/*

Download a file in the background

wget -bq abc.com/xyz.txt

Download file of a website

wget -m http://abc.com

Leave a Reply

Your email address will not be published. Required fields are marked *