 htdump [options] [http[s]://][username:password@]<server>[:port][path]


 DESCRIPTION
 ===================================
 htdump is an automation utility to retrieve URLs and write them
 to a file or process them through a pipeline. When compiled with
 OpenSSL, this program will support SSL connections.


 OPTIONS
 ===================================
 Main mode of operation:
 -command=<command>     Define request command. Default is 'GET'.
 -post=<form data>      POST form data. When used, command is
                        overriden to 'POST'

 Miscellaneous:
 -debug=<level>         Debug mode, specify level
 -file=<file>           Dump data to file. (Auto-resumes)
                        When omitted, output goes to stdout.

 Header adjustment:
 -accept=<Accept>       Add 'Accept:' header
 -cookie=<Cookie>       Add 'Cookie:' header
 -from=<From>           Add 'From:' header
 -host=<Host>           Add 'Host:' header           (*)
 -referer=<Referer>     Add 'Referer:' header
 -range=<Range string>  Add 'Range:' header          (*)
 -agent=<Agent string>  Add 'User-Agent:' header
 -version=<0|1|r>       Select HTTP version. Default is HTTP/1.1

 (*) = HTTP/1.1 only
 You need version 1.1 to use password authentication


 EXAMPLES
 ===================================
 htdump www.netscape.com
 htdump https://flemming:secret@www.jamesbond.com/members/secret.html
 htdump -host="www.vhost1.com" http://127.0.0.1/
 htdump -referer="www.fbi.gov" http://www.arpa.mil/secret.zip
 htdump -version=r -agent="Crazy www browser 1.6" http://bouncy.com/
 htdump -command="OPTIONS" http://arak.cs.hro.nl/ -debug
 htdump -file=this.zip download.com/this.zip &
 htdump http://download.com/big.zip -range="644221-" >> big.zip &
 htdump -post="name=Ren&op1=yes" here.com/cgi-bin/prog


 htdump 0.9x
 Copyright Ren Hoek (ren@arak.cs.hro.nl)
 Distributed under an Artistic License.
 Homepage: http://arak.cs.hro.nl/~ren/linux/

