Subject: Re: fetch command for distribution files for package system
To: Andrew Gillham <gillhaa@ghost.whirlpool.com>
From: Jeff Thieleke <thieleke@ix.netcom.com>
List: current-users
Date: 12/30/1997 16:32:11
Andrew Gillham wrote:
> 
> >
> > 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!  :)
> 
> So how does one specify passive FTP or a proxy server for it?


For passive transfers, before you download the package, set the env var
FETCH_CMD to
"/usr/bin/ftp -p".

I haven't tried the package system through a proxy server, but according
to ftp(1) man page, it supports the 'ftp_proxy' and 'http_proxy'
environment variables.



Jeff Thieleke