Proxy Configuration Examples – wget

Wget Configuration for the Proxy

This article describes the GNU Wget free software package for retrieving files from the Internet. 

The Wget command line tool can be used with the HTTP and HTTPS protocols. It supports HTTP proxies and can be called from scripts or scheduled jobs. 

Wget runs on most UNIX-like operating systems as well as on Windows.

Wget can support your use cases, making it easy to retrieve large files or mirror entire websites. 

You’ll find more details at http://www.gnu.org/software/wget/.

Information and Downloads

You can find Wget source code here. The Wget FAQ provides additional download options.

GNU Wget documentation in several online and print formats is available here.

Environment Variable

Wget supports proxies for http retrievals. Wget will use the http_proxy environment variable if it is set. If set, the http_proxy variable should contain the URL of the proxy for http connection.

The following example shows how to use wget if http_proxy is not set.
http_proxy="http://PROXYHOST:PORT" wget --proxy-user=USERNAME --proxy-password=PASSWORD http://example.com
	

IP Rotating Proxy Onsale

SPECIAL LIMITED TIME OFFER

00
Months
00
Days
00
Hours
00
Minutes
00
Seconds
First month free with coupon code FREE30