diff options
author | fenner <fenner@FreeBSD.org> | 1997-03-05 18:57:16 +0000 |
---|---|---|
committer | fenner <fenner@FreeBSD.org> | 1997-03-05 18:57:16 +0000 |
commit | d0ff874c8957e3190b701ea212f040add0fcb004 (patch) | |
tree | 02d9c8f2b35cb92674610388da986299ccfa8d90 /usr.bin/fetch/fetch.1 | |
parent | d8a1a0faafc85f52b60e3166341d0550d757ff23 (diff) | |
download | FreeBSD-src-d0ff874c8957e3190b701ea212f040add0fcb004.zip FreeBSD-src-d0ff874c8957e3190b701ea212f040add0fcb004.tar.gz |
Fix FTP_PROXY to use user@host[@port] for FTP proxy and eliminate
undocumented FTP_PROXY_USER
Make FTP file errors contian hostname and path.
Pass the FTP port to libftp.
Partially un-HTMLify error messages returned from server
Handle "HTTP NNN" instead of "HTTP/V.vv NNN" response sent by
pre-HTTP/1.0 servers
Reviewed by: wollman
Diffstat (limited to 'usr.bin/fetch/fetch.1')
-rw-r--r-- | usr.bin/fetch/fetch.1 | 28 |
1 files changed, 16 insertions, 12 deletions
diff --git a/usr.bin/fetch/fetch.1 b/usr.bin/fetch/fetch.1 index 9ecc7b3..924e867 100644 --- a/usr.bin/fetch/fetch.1 +++ b/usr.bin/fetch/fetch.1 @@ -1,4 +1,4 @@ -.\" $Id: fetch.1,v 1.15 1997/02/22 19:54:56 peter Exp $ +.\" $Id: fetch.1,v 1.16 1997/02/22 23:43:32 wosch Exp $ .Dd July 2, 1996 .Dt FETCH 1 .Os FreeBSD 2.2 @@ -140,12 +140,12 @@ colon and a port number. .Pp The .Tn FTP -proxy client specifies -.Dq anonymous -as its user name, and passes the remote user name and host as the +proxy client passes the remote username, host and port as the .Tn FTP -session's password, in the form -.Dq Va remoteuser Ns Li \&@ Ns Va remotehost . +session's username, in the form +.Do Va remoteuser Ns Li \&@ Ns Va remotehost +.Op Li \^@ Ns Va port +.Dc . The .Tn HTTP proxy client simply passes the originally-requested URI to the remote @@ -153,10 +153,6 @@ server in an .Tn HTTP .Dq Li GET request. HTTP proxy authentication is not yet implemented. -When multiple proxy protcols are configured, -.Nm -will prefer -.Tn HTTP . .Sh HTTP AUTHENTICATION The .Tn HTTP @@ -251,13 +247,21 @@ the password used for transfers (default .Dq Va yourname Ns Li \&@ Ns Va yourhost ) .It Ev FTP_PROXY -the address of a proxy server which understands +the address (in the form +.Do Va hostname Ns +.Op Li : Ns Va port +.Dc ) +of a proxy server which understands .Tn FTP .It Ev HTTP_AUTH defines authentication parameters for .Tn HTTP .It Ev HTTP_PROXY -the address of a proxy server which understands +the address (in the form +.Do Va hostname Ns +.Op Li : Ns Va port +.Dc ) +of a proxy server which understands .Tn HTTP .It Ev HTTP_PROXY_AUTH defines authentication parameters for |