Subject: Re: fetch command for distribution files for package system
To: Andrew Gillham <gillhaa@ghost.whirlpool.com>
From: Luke Mewburn <lm@cs.rmit.edu.au>
List: current-users
Date: 12/31/1997 09:38:36
Andrew Gillham writes:
> > 
> > On Tue, 30 Dec 1997, Justin T. Gibbs wrote:
> > 
> > : This won't work for the packages that are only distributed via HTTP
> > : unless the NetBSD project caches them somewhere that has ftp access.
> > 
> > Actually, it will.  NetBSD's command-line can fetch HTTP too.  (Woo!  :)
> > 
> > =====
> > ===== Todd Vierling (Personal tv@pobox.com; Business tv@lucent.com) =====
> 
> So how does one specify passive FTP or a proxy server for it?


ftp(1) tells us:

==>
[...]

     -p        Enable passive mode operation for use behind connection filter-
               ing firewalls.

[...]

ENVIRONMENT

     ftp_proxy      URL of FTP proxy to use when making FTP URL requests (if
                    not defined, use the standard ftp protocol).

     http_proxy     URL of HTTP proxy to use when making HTTP URL requests.

<==


i have the following in my ~/.netrc:

==>
default
        macdef init
	passive on

<==


i may add functionality to try passive first, then fallback
to active (i think OpenBSD has done this).