How to use wget through a proxy

Written by keith perry
  • Share
  • Tweet
  • Share
  • Pin
  • Email
How to use wget through a proxy
Using Wget with Linux or Unix helps with downloading files from the Internet. (Internet - eingabefeld Internet http://www image by pmphoto from Fotolia.com)

Wget is a free, command line software utility for downloading files from an intranet or the Internet. Wget is designed for use with either Linux or Unix operating systems. The application handle files in HTTP and FTP protocols. Common uses of Wget include downloading files in the background, copying websites and downloading large files over poor network connections. Wget has many options available, making it useful for many needs.

Skill level:
Moderately Easy

Other People Are Reading

Things you need

  • Unix or Linux operating system

Show MoreHide

Instructions

  1. 1

    Download and install Wget (click on the link in the Resource section) on a system running Unix or Linux.

  2. 2

    Open a terminal session to obtain a command prompt.

  3. 3

    Type in the following at the command prompt to retrieve HTTP pages: export http_proxy="http://prxy.sample.com:8080"

    Replace the text http://prxy.sample.com:8080 with the name and port of the HTTP proxy server you wish to use. Press on the "Enter" key on your keyboard to complete the command.

  4. 4

    Type in the following at the command prompt to retrieve FTP pages: export ftp_proxy="http://prxy.sample.com:8080"

    Replace the text http://prxy.sample.com:8080 with the name and port of the FTP proxy server you wish to use. Press on the "Enter" key on your keyboard to complete the command.

  5. 5

    Type the following at the command prompt to access proxy servers:

    wget --proxy-user "User" --proxy-password "Password" http://www.yahoo.com>

    Replace the User and Password with your user name and password for the proxy. Press on the "Enter" key on your keyboard to complete the command.

  6. 6

    View the results displayed by Wget. These results indicate success or failure of the retrieval process at the command prompt.

Tips and warnings

  • Use the command "Wget --help" to retrieve help for Wget command line options.
  • The HTTPS protocol is not supported by Wget through proxy servers.

Don't Miss

Filter:
  • All types
  • Articles
  • Slideshows
  • Videos
Sort:
  • Most relevant
  • Most popular
  • Most recent

No articles available

No slideshows available

No videos available

By using the eHow.co.uk site, you consent to the use of cookies. For more information, please see our Cookie policy.