diff options
Diffstat (limited to 'lib/libfetch/fetch.3')
-rw-r--r-- | lib/libfetch/fetch.3 | 30 |
1 files changed, 29 insertions, 1 deletions
diff --git a/lib/libfetch/fetch.3 b/lib/libfetch/fetch.3 index dd0849a..f925d25 100644 --- a/lib/libfetch/fetch.3 +++ b/lib/libfetch/fetch.3 @@ -223,6 +223,20 @@ If the (passive) flag is specified, a passive (rather than active) connection will be attempted. .Pp +If the +.Fa h +(high) flag is specified, data sockets will be allocated in the high +port range (see +.Xr ip 4 ). +.Pp +If the +.Fa d +(direct) flag is specified, +.Fn fetchGetFTP +and +.Fn fetchPutFTP +will use a direct connection even if a proxy server is defined. +.Pp If no user name or password is given, the .Nm fetch library will attempt an anonymous login, with user name "ftp" and @@ -235,6 +249,14 @@ and functions implement the HTTP/1.1 protocol. With a little luck, there's even a chance that they comply with RFC2068. .Pp +If the +.Fa d +(direct) flag is specified, +.Fn fetchGetHTTP +and +.Fn fetchPutHTTP +will use a direct connection even if a proxy server is defined. +.Pp Since there seems to be no good way of implementing the HTTP PUT method in a manner consistent with the rest of the .Nm fetch @@ -314,7 +336,8 @@ to use for transferring files. .Sh SEE ALSO .Xr com_err 3 , .Xr fetch 1 , -.Xr ftpio 3 +.Xr ftpio 3 , +.Xr ip 4 . .Rs .%A T. Berners-Lee, L. Masinter & M. McCahill .%D December 1994 @@ -401,6 +424,11 @@ system errors. For instance, error code 202 means "Command not implemented, superfluous at this site" in an FTP context and "Accepted" in an HTTP context. .Pp +.Fn fetchStatFTP +does not check that the result of an MDTM command is a valid date. +.Pp +The HTTP code needs a complete rewrite, or at least a serious cleanup. +.Pp The man page is poorly written and produces badly formatted text. .Pp Tons of other stuff. |