]> CyberLeo.Net >> Repos - FreeBSD/releng/10.2.git/blob - usr.sbin/portsnap/phttpget/phttpget.8
- Copy stable/10@285827 to releng/10.2 in preparation for 10.2-RC1
[FreeBSD/releng/10.2.git] / usr.sbin / portsnap / phttpget / phttpget.8
1 .\"-
2 .\" Copyright (c) 2015 Xin Li <delphij@FreeBSD.org>
3 .\" All rights reserved.
4 .\"
5 .\" Redistribution and use in source and binary forms, with or without
6 .\" modification, are permitted provided that the following conditions
7 .\" are met:
8 .\" 1. Redistributions of source code must retain the above copyright
9 .\"    notice, this list of conditions and the following disclaimer.
10 .\" 2. Redistributions in binary form must reproduce the above copyright
11 .\"    notice, this list of conditions and the following disclaimer in the
12 .\"    documentation and/or other materials provided with the distribution.
13 .\"
14 .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
15 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
16 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
17 .\" ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
18 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24 .\" SUCH DAMAGE.
25 .\"
26 .\" $FreeBSD$
27 .\"
28 .Dd January 3, 2015
29 .Dt PHTTPGET 8
30 .Os
31 .Sh NAME
32 .Nm phttpget
33 .Nd retrieve multiple files via pipelined HTTP
34 .Sh SYNOPSIS
35 .Nm
36 .Ar server
37 .Ar file ...
38 .Sh DESCRIPTION
39 The
40 .Nm
41 utility is a minimalist pipelined HTTP client,
42 which is used to retrieve multiple
43 .Ar file Ns s
44 from one
45 .Ar server ,
46 and saves the downloaded files in the current working directory,
47 using the last portion of their download path as file names.
48 .Pp
49 By making several "in flight" HTTP requests,
50 it can dramatically increase performance when a large number of
51 small files need to be downloaded.
52 .Pp
53 The
54 .Xr freebsd-update 8
55 and
56 .Xr portnap 8
57 tools use
58 .Nm
59 to download binary patch files.
60 .Sh ENVIRONMENT
61 .Bl -tag -width HTTP_PROXY_AUTH
62 .It Ev HTTP_PROXY
63 URL of the proxy to use for HTTP requests.
64 .It Ev HTTP_PROXY_AUTH
65 Authorization parameters for the HTTP proxy.
66 .It Ev HTTP_USER_AGENT
67 The User-Agent string to use for HTTP requests.
68 The default is
69 .Dq phttpget/0.1 .
70 .It Ev HTTP_TIMEOUT
71 Timeout for HTTP request in seconds.
72 .El
73 .Sh SEE ALSO
74 .Xr fetch 1 ,
75 .Xr freebsd-update 8 ,
76 .Xr portsnap 8
77 .Sh AUTHORS
78 .An -nosplit
79 The
80 .Nm
81 utility was written by
82 .An Colin Percival Aq Mt cperciva@FreeBSD.org
83 for use with
84 .Xr portsnap 8
85 and later with
86 .Xr freebsd-update 8 .
87 This manual page was written by
88 .An Xin LI Aq Mt delphij@FreeBSD.org .