URLGET(1)

NAME
urlget - Retrieve the specified URL

SYNOPSIS
urlget [-DPhop] URL [name=value]...

DESCRIPTION
Urlget retrieves the URL specified on the command line and outputs it to the standard output. It uses the HTTP 1.0 GET query by default.

OPTIONS

-h  Uses the HEAD query to only get available header information for the specified URL.

-o  Uses old GET query (HTTP/0.9), useful for really old servers.

-p  Sends a POST command rather than a GET. In this case, arguments after the URL are assumed to be name=value pairs to be used as data for the POST command. Any non-alphanumeric characters after the '=' in the argument are escaped.

-D  Debugging -- shows the command (and post data, if any) that it would send, but doesn't actually open a connection.

-P  Do not use a proxy. By default proxies defined in the environment will be used.

-R  Force proxies to reload (revalidate) the requested URL.

ENVIRONMENT

http_proxy
    If set it should be an http URL for the proxy service. E.g. http://proxy:3128/ declares that the proxy lives on host proxy on port 3128.

EXAMPLES
urlget http://www.ibiblio.org/Dave/Dr-Fun/latest.jpg | xv

SEE ALSO
Mosaic(1X), lynx(1), netscape(1X), xv(1X)

DIAGNOSTICS
The following exit values are returned.

0   Successful completion.
1   Invalid URL, URL missing, or other usage error.
2   Unknown host.
3   Cannot create socket.
4   Cannot connect to remote host.
5   Resource allocation error.
6   I/O error.
7   Server returned an empty document.
>20 Error code returned by server divided by ten.

BUGS
Only handles the http scheme.

AUTHORS
Kimmo Suominen <kim@tac.nyc.ny.us>
Mark Moraes <moraes@deshaw.com>