Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Feb 2003 09:08:40 +0200
From:      "Doron Shmaryahu" <doron@home.crc.co.za>
To:        "Daniel Schrock" <dschrock@speakeasy.net>, "Darren Spruell" <darren_spruell@sento.com>, <freebsd-questions@freebsd.org>
Subject:   Re: ftp_proxy syntax
Message-ID:  <005101c2d32e$c09e4770$0801a8c0@dman>
References:  <b2dsl1$1b46$1@FreeBSD.csie.NCTU.edu.tw> <3E4A9186.7050202@speakeasy.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

use export FTP_PROXY=http://xxx.xxx.xxx.xx:80


that works perfectly for me

Kind Regards

Doron Shmaryahu
----- Original Message -----
From: "Daniel Schrock" <dschrock@speakeasy.net>
To: "Darren Spruell" <darren_spruell@sento.com>;
<freebsd-questions@FreeBSD.ORG>
Sent: Wednesday, February 12, 2003 8:25 PM
Subject: Re: ftp_proxy syntax


> Darren Spruell wrote:
> > Hi,
> >
> > I'm trying to enable apps such as ftp and yafc to use our Squid proxy
> > for outgoing FTP connections, but my environment variable doesn't seem
> > to work...
> >
> > ===================================================================
> > [darren@freebsd:~]$ echo $SHELL
> > /usr/local/bin/bash
> > [darren@freebsd:~]$ export ftp_proxy="squid.sento.com:8080"
> > [darren@freebsd:~]$ echo $ftp_proxy
> > squid.sento.com:8080
> > [darren@freebsd:~]$ ftp ftp.FreeBSD.org
> > ^C[darren@freebsd:~]$ yafc ftp.FreeBSD.org
> > yafc 0.7.10 Copyright (C) 1998-2001 Martin Hedenfalk <mhe@home.se>.
> > This program comes with ABSOLUTELY NO WARRANTY; for details type
'warranty'.
> > This is free software; type 'copyright' for details.
> >
> > Connecting to ftp.beastie.tdk.net (62.243.72.50) at port 21...
> > ===================================================================
> >
> > ...and just sits there. Shouldn't the connection be made to
> > squid.sento.com:8080?
> >
> > Trying to run 'ftp ftp.gnu.org' from shell ends up doing the same thing.
> > What am I doing wrong? I know our proxy listens on 8080 and supports
FTP.
> >
> > TIA,
> >
>
> I have never used squid, so this may not work,
> but the standard for variables is captial letters.
> try:
> export FTP_PROXY="squid.sento.com:8080"
>
> Daniel Schrock, CCNA
>
>
>
>
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
>
>



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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?005101c2d32e$c09e4770$0801a8c0>