summaryrefslogtreecommitdiffstats
path: root/lib/libfetch/fetch.3
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2000-01-07 10:59:12 +0000
committerdes <des@FreeBSD.org>2000-01-07 10:59:12 +0000
commit1e930b38f85120ad766f987dbbe256d25f9f5fc2 (patch)
treef796672a55f7c9e6ba03a7cb4902b9ebcb02e504 /lib/libfetch/fetch.3
parent5a9ffb7f5aae940fea91a0088b42469832041093 (diff)
downloadFreeBSD-src-1e930b38f85120ad766f987dbbe256d25f9f5fc2.zip
FreeBSD-src-1e930b38f85120ad766f987dbbe256d25f9f5fc2.tar.gz
Patches I've had lying around for several months:
* Add the 'h' ftp flag (allocate local port in high range) * Add the 'd' flag (use direct connection even if proxy is defined) * Make sure flags != NULL before calling strchr(). * Minor changes to some comments.
Diffstat (limited to 'lib/libfetch/fetch.3')
-rw-r--r--lib/libfetch/fetch.330
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.
OpenPOWER on IntegriCloud