GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
HGET(1) FreeBSD General Commands Manual HGET(1)

hget - retrieve a web page corresponding to a url

hget [ -dhv ][ -o ofile ][ -p body ][ -x netmntpt ] url

Hget retrieves the web page specified by the URL url and writes it, absent the -o option, to standard output. The only supported URL type is http.

If url is of type HTTP and the -p option is specified, then an HTTP POST is performed with body as the data to be posted.

The -o option is used to keep a local file in sync with a web page. If the web page has been modified later than the file, it is copied into the file. If the file is up to date but incomplete, hget will fetch the missing bytes.

Option -h causes HTTP headers to be printed to standard output in addition to the transferred web page.

Option -d turns on debugging written to standard error.

Normally, hget uses the IP stack mounted under /net. The -x option can be used to specify the mount point of a different IP stack to use.

Option -v writes progress lines to standard output once a second. Each line contains two numbers, the bytes transferred so far and the total length to be transferred.

If the environment variable httpproxy is set, it is used as a URL denoting an HTTP proxy server. All HTTP accesses use this server to get the page instead of calling the destination server.

/src/cmd/hget.c

Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.