wget – HTTP request from command line

If you need to make a request via HTTP from Windows/*nix command line and obtain server response (example: you want to run some remote script via HTTP and then process its answer), there is a special utility exactly for this purpose. The utility called WGet:

http://www.gnu.org/software/wget/

In command line run: wget.exe http://somesite.com/script.php
As a result, server response will be stored in file. You can download files via HTTP in the same manner. Very convenient and useful tool.

Posted on Sunday, July 19th, 2009 at 9:40. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

One Response to “ wget – HTTP request from command line”

  1. Гексли says:

    с докачкой так: wget -c file

Leave a Reply