Navigation: Command Line Applications > GetHTTP > Usage |
Command Line Parameters
gethttp [-f filename] [-u UserAgent] [http://]www.somehost.com/file.htm
Examples
Example 1: Download the file http://www.netikus.net/downloads/rpm_update.pl.gz
gethttp www.netikus.net/downloads/rpm_update.pl.gz
Example 2: Download the file http://www.netikus.net/downloads/getconfig.sh and save it locally as getconfig
gethttp -f getconfig http://www.netikus.net/downloads/getconfig.sh
Example 3: Download the document http://www.experts-exchange.com/Programming/System/Windows__Programming/MFC/Q_22133017.html and save it locally as answer.html
gethttp -u "Googlebot" -f answer.html http://www.experts-exchange.com/Programming/System/Windows__Programming/MFC/Q_22133017.html
Sample Output
c:\>gethttp www.netikus.net/downloads/getconfig.sh ------------------------------------------------------------- GetHTTP V1.1 by NETIKUS.NET [ compiled on Oct 23 2002 ] (nttoolkit@netikus.net) ------------------------------------------------------------- Command-line utility to retrieve files over HTTP
Saved file "getconfig.sh" in current directory Received 9.53 kb in 0.310 seconds (30.76 kb/sec) |