aboutsummaryrefslogtreecommitdiff
path: root/lib/libfetch
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2000-10-29 12:58:08 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2000-10-29 12:58:08 +0000
commit91c510460072d6dfe9b6086dac6e215d67d0af8a (patch)
tree5076ff63209ce96212f91b3a92c9dd482d11c455 /lib/libfetch
parent2d45aed6bcd8af842475bffe09e32d81ffcfaddb (diff)
downloadsrc-91c510460072d6dfe9b6086dac6e215d67d0af8a.tar.gz
src-91c510460072d6dfe9b6086dac6e215d67d0af8a.zip
Document FTP_PASSIVE_MODE and FTP_PASSWORD.
PR: docs/20626 Submitted by: nik
Notes
Notes: svn path=/head/; revision=67871
Diffstat (limited to 'lib/libfetch')
-rw-r--r--lib/libfetch/fetch.39
1 files changed, 8 insertions, 1 deletions
diff --git a/lib/libfetch/fetch.3 b/lib/libfetch/fetch.3
index 664959436694..704836da2315 100644
--- a/lib/libfetch/fetch.3
+++ b/lib/libfetch/fetch.3
@@ -420,7 +420,14 @@ Invalid URL
The accompanying error message includes a protocol-specific error code
and message, e.g. "File is not available (404 Not Found)"
.Sh ENVIRONMENT
-.Bl -tag -width HTTP_PROXY_AUTH
+.Bl -tag -width FTP_PASSIVE_MODE
+.It Ev FTP_PASSIVE_MODE
+The FTP code selects passive mode by default.
+To force active mode FTP, set this variable to
+.Ql no .
+.It Ev FTP_PASSWORD
+Default FTP password if the remote server requests one and none was
+provided in the URL.
.It Ev FTP_PROXY
URL of the proxy to use for FTP requests.
The document part is ignored.