Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Aug 1999 21:50:11 -0700
From:      John-Mark Gurney <gurney_j@efn.org>
To:        "Daniel O'Connor" <doconnor@gsoft.com.au>
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: fetch: default to passive mode?
Message-ID:  <19990805215011.45032@hydrogen.fircrest.net>
In-Reply-To: <XFMail.990806102924.doconnor@gsoft.com.au>; from Daniel O'Connor on Fri, Aug 06, 1999 at 10:29:24AM %2B0930
References:  <xzpg11yqy42.fsf@flood.ping.uio.no> <XFMail.990806102924.doconnor@gsoft.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
Daniel O'Connor scribbled this message on Aug 6:
> On 05-Aug-99 Dag-Erling Smorgrav wrote:
> >  "Chuck Youse" <cyouse@cybersites.com> writes:
> > > I have a really strong urge to submit a PR to make fetch default to passive
> > > mode, instead of requiring a command-line switch ...
> >  
> >  fetch(1) honors FTP_PASSIVE_MODE.
> 
> Speaking of fetch features.. Are there any plans to make fetch use a http proxy
> for ftp requests like ftp does? At the moment I usually do 'make FETCH_CMD=ftp'
> when making ports since it honours ftp_proxy (like wget, netscape and lynx)

hmmm... are you sure it doesn't?
metriclient-1,ttype,/tmp,509$echo $HTTP_PROXY
localhost:3128
metriclient-1,ttype,/tmp,507$fetch ftp://ftp.cdrom.com/config.txt
Receiving config.txt: 3 Kbytes
3575 bytes transfered in 0.7 seconds  (5.15 Kbytes/s)
metriclient-1,ttype,/tmp,501#tail squid.access
933914913.491   3750 127.0.0.1 TCP_MISS/200 3816 GET ftp://ftp.cdrom.com/config.txt - DIRECT/ftp.cdrom.com text/plain

sure looks like it uses the http proxy, and this is on 3.0-R...

-- 
  John-Mark Gurney                              Voice: +1 541 684 8449
  Cu Networking					  P.O. Box 5693, 97405

  "The soul contains in itself the event that shall presently befall it.
  The event is only the actualizing of its thought." -- Ralph Waldo Emerson


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990805215011.45032>