HTGET (ver 1.06) Abandoned Freeware HTGET is a WATTCP HTTP downloader for DOS that allows you to download any stuff from a HTTP server. You must have a "WATTCP.CFG" file in the same directory as HTGET. The Wattcp file needs to first be configured with your IP information. Remember to define a nameserver if you want to resolve hostnames. Then to use the program, just run as: htget URL where URL is a document on the Web that you want to fetch. The initial http:// can be omitted. The returned document, if there is no error, is sent to standard output. Use > redirection or -o to save to a file if this is desired. If an error occurs, the error code is printed to stderr. If the environment variable HTTP_PROXY is set to the host:port of a proxy server, then htget will use that. In this case the http:// prefix of the URL cannot be omitted. At the moment HTGET handles responses from HTTP/1.0 and HTTP/1.1 servers only. Are there any HTTP/0.9 servers still in use? ------ 1.06 HTGET is sending a "Host" header along with its requests. That way it becomes compatible with "virtual host" servers. Patched by Mateusz Viste . Note, that the original author doesn't take care of the program anymore. The current maintainer is Mateusz Viste . 1.05 Unknown changes (documentation lost) 1.04 Unknown changes (documentation lost) 1.03 Unknown changes (documentation lost) 1.02 Jeff Patterson suggested a running count of bytes fetched for long transfers. 1.01 Merged contributed code by Yury Semenov to go through a proxy. Set environment variable HTTP_PROXY to host:port of proxy. 1.00 If 301 or 302 response, print the Location line. Accept HTTP/1.1 resposes too. Link with latest version of Wattcp library to get fixes. Probably have no effect on this program but anyway... Final version. 0.99 Provide a manual page. Bug fix: if no Content-Length line, read until EOF Disable -m if -h specified. It will be ignored by the server anyway. Warn if continuation line seen. Fortunately the only header line we are interested in, Content-Length, is very unlikely to span lines. 0.98 Add -o filename option to save to a file. Add -m to send If-Modified-Since with date of file in -o. Use getopt instead of doing argument parsing oneself. 0.97 Add -v flag to print some progress messages. Add -p ident:password to allow authorisation to be sent. 0.96 Add reference to RFC1945. Correct some resource URLs. Note that HTTP/0.9 servers not handled. Bound sock_getline loop by buffer length. Print warning if actual length != content length. Return non-zero status if failed to fetch document. Identify user agent as HTGET-DOS to avoid confusion with other HTGET. 0.95 First release by Ken Yap