diff options
author | Dag-Erling Smørgrav <des@FreeBSD.org> | 2011-09-27 19:02:44 +0000 |
---|---|---|
committer | Dag-Erling Smørgrav <des@FreeBSD.org> | 2011-09-27 19:02:44 +0000 |
commit | bb6e332901e4fcfd842bcf98d02410186dccb6e1 (patch) | |
tree | 30aa0cc27fcd770647ebb452c648babfdef4762b /usr.bin/fetch | |
parent | 6337341d81b73968f691c7a62d4d3209d16b7fa5 (diff) | |
download | src-bb6e332901e4fcfd842bcf98d02410186dccb6e1.tar.gz src-bb6e332901e4fcfd842bcf98d02410186dccb6e1.zip |
Notes
Diffstat (limited to 'usr.bin/fetch')
-rw-r--r-- | usr.bin/fetch/fetch.1 | 16 | ||||
-rw-r--r-- | usr.bin/fetch/fetch.c | 2 |
2 files changed, 10 insertions, 8 deletions
diff --git a/usr.bin/fetch/fetch.1 b/usr.bin/fetch/fetch.1 index 0dbbc0b04f15..837ae4b259a4 100644 --- a/usr.bin/fetch/fetch.1 +++ b/usr.bin/fetch/fetch.1 @@ -1,5 +1,5 @@ .\"- -.\" Copyright (c) 2000-2004 Dag-Erling Coïdan Smørgrav +.\" Copyright (c) 2000-2011 Dag-Erling Smørgrav .\" All rights reserved. .\" Portions Copyright (c) 1999 Massachusetts Institute of Technology; used .\" by permission. @@ -29,7 +29,7 @@ .\" .\" $FreeBSD$ .\" -.Dd December 14, 2008 +.Dd September 27, 2011 .Dt FETCH 1 .Os .Sh NAME @@ -165,11 +165,13 @@ directory, with name(s) selected as in the default behaviour. .It Fl P .It Fl p Use passive FTP. -This is useful if you are behind a firewall which blocks incoming -connections. -Try this flag if -.Nm -seems to hang when retrieving FTP URLs. +These flags have no effect, since passive FTP is the default, but are +provided for compatibility with earlier versions where active FTP was +the default. +To force active mode, set the +.Ev FTP_PASSIVE_MODE +environment variable to +.Ql NO . .It Fl q Quiet mode. .It Fl R diff --git a/usr.bin/fetch/fetch.c b/usr.bin/fetch/fetch.c index 11b714fe4cd7..8d2667196935 100644 --- a/usr.bin/fetch/fetch.c +++ b/usr.bin/fetch/fetch.c @@ -1,5 +1,5 @@ /*- - * Copyright (c) 2000-2004 Dag-Erling Coïdan Smørgrav + * Copyright (c) 2000-2011 Dag-Erling Smørgrav * All rights reserved. * * Redistribution and use in source and binary forms, with or without |