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.

ProxyMesh supports configuration of the Proxy Host with Basic Authentication as well as IP address authentication. With the latter, you don't need to use a username and password.

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

Still need help? Contact Us Contact Us