Deleted Added
full compact
fetch.3 (225736) fetch.3 (226015)
1.\"-
2.\" Copyright (c) 1998-2004 Dag-Erling Co�dan Sm�rgrav
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 unchanged lines hidden (view full) ---

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.\"
1.\"-
2.\" Copyright (c) 1998-2004 Dag-Erling Co�dan Sm�rgrav
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 unchanged lines hidden (view full) ---

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: stable/9/lib/libfetch/fetch.3 203028 2010-01-26 15:06:22Z des $
26.\" $FreeBSD: stable/9/lib/libfetch/fetch.3 226015 2011-10-04 17:26:40Z des $
27.\"
28.Dd January 26, 2010
29.Dt FETCH 3
30.Os
31.Sh NAME
32.Nm fetchMakeURL ,
33.Nm fetchParseURL ,
34.Nm fetchFreeURL ,

--- 278 unchanged lines hidden (view full) ---

313.Sh FTP SCHEME
314.Fn fetchXGetFTP ,
315.Fn fetchGetFTP
316and
317.Fn fetchPutFTP
318implement the FTP protocol as described in RFC959.
319.Pp
320If the
27.\"
28.Dd January 26, 2010
29.Dt FETCH 3
30.Os
31.Sh NAME
32.Nm fetchMakeURL ,
33.Nm fetchParseURL ,
34.Nm fetchFreeURL ,

--- 278 unchanged lines hidden (view full) ---

313.Sh FTP SCHEME
314.Fn fetchXGetFTP ,
315.Fn fetchGetFTP
316and
317.Fn fetchPutFTP
318implement the FTP protocol as described in RFC959.
319.Pp
320If the
321.Ql P
322(not passive) flag is specified, an active (rather than passive)
323connection will be attempted.
324.Pp
325The
321.Ql p
326.Ql p
322(passive) flag is specified, a passive (rather than active) connection
323will be attempted.
327flag is supported for compatibility with earlier versions where active
328connections were the default.
329It has precedence over the
330.Ql P
331flag, so if both are specified,
332.Nm
333will use a passive connection.
324.Pp
325If the
326.Ql l
327(low) flag is specified, data sockets will be allocated in the low (or
328default) port range instead of the high port range (see
329.Xr ip 4 ) .
330.Pp
331If the

--- 138 unchanged lines hidden (view full) ---

470.Sh ENVIRONMENT
471.Bl -tag -width ".Ev FETCH_BIND_ADDRESS"
472.It Ev FETCH_BIND_ADDRESS
473Specifies a hostname or IP address to which sockets used for outgoing
474connections will be bound.
475.It Ev FTP_LOGIN
476Default FTP login if none was provided in the URL.
477.It Ev FTP_PASSIVE_MODE
334.Pp
335If the
336.Ql l
337(low) flag is specified, data sockets will be allocated in the low (or
338default) port range instead of the high port range (see
339.Xr ip 4 ) .
340.Pp
341If the

--- 138 unchanged lines hidden (view full) ---

480.Sh ENVIRONMENT
481.Bl -tag -width ".Ev FETCH_BIND_ADDRESS"
482.It Ev FETCH_BIND_ADDRESS
483Specifies a hostname or IP address to which sockets used for outgoing
484connections will be bound.
485.It Ev FTP_LOGIN
486Default FTP login if none was provided in the URL.
487.It Ev FTP_PASSIVE_MODE
478If set to anything but
488If set to
479.Ql no ,
489.Ql no ,
480forces the FTP code to use passive mode.
490forces the FTP code to use active mode.
491If set to any other value, forces passive mode even if the application
492requested active mode.
481.It Ev FTP_PASSWORD
482Default FTP password if the remote server requests one and none was
483provided in the URL.
484.It Ev FTP_PROXY
485URL of the proxy to use for FTP requests.
486The document part is ignored.
487FTP and HTTP proxies are supported; if no scheme is specified, FTP is
488assumed.

--- 225 unchanged lines hidden ---
493.It Ev FTP_PASSWORD
494Default FTP password if the remote server requests one and none was
495provided in the URL.
496.It Ev FTP_PROXY
497URL of the proxy to use for FTP requests.
498The document part is ignored.
499FTP and HTTP proxies are supported; if no scheme is specified, FTP is
500assumed.

--- 225 unchanged lines hidden ---