From owner-freebsd-bugs Thu Aug 29 17:10: 8 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B925E37B400 for ; Thu, 29 Aug 2002 17:10:04 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 75B7C43E42 for ; Thu, 29 Aug 2002 17:10:04 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g7U0A4JU004559 for ; Thu, 29 Aug 2002 17:10:04 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g7U0A4Fu004558; Thu, 29 Aug 2002 17:10:04 -0700 (PDT) Date: Thu, 29 Aug 2002 17:10:04 -0700 (PDT) Message-Id: <200208300010.g7U0A4Fu004558@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Ted Mittelstaedt Subject: Re: misc/42172: ftp and fetch client needs an active command line option now Reply-To: Ted Mittelstaedt Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR misc/42172; it has been noted by GNATS. From: Ted Mittelstaedt To: Ian Dowse Cc: Ted Mittelstaedt , freebsd-gnats-submit@FreeBSD.org Subject: Re: misc/42172: ftp and fetch client needs an active command line option now Date: Thu, 29 Aug 2002 17:05:04 -0700 (PDT) Quoting Ian Dowse : > In message <200208291949.g7TJn3J2026751@www.freebsd.org>, Ted > Mittelstaedt writ > es: > > Now, I know that most people are going to be saying "so what, > >all FTP servers support passive mode" but au-contraire, that is not > >true. I ran across one that ONLY supports ACTIVE mode FTP - it is > >a network storage device called a "Snap!" server, manufactured by > >Quantum. The lack of an active switch makes it rather difficult to > >write scripts that deal with this device. > > It seems that setting the environment variable FTP_PASSIVE_MODE to > "NO" should do what you want. Does that work? > > Ian > It does work with FTP however it doesen't appear to work with the fetch program. (perhaps that should be a second PR, fetch not responding to that variable?) Also this workaround doesen't address the changes that need to be made in the man page for ftp. Thanks, though! Ted To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message