Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Feb 2003 12:25:10 -0600
From:      Daniel Schrock <dschrock@speakeasy.net>
To:        Darren Spruell <darren_spruell@sento.com>, freebsd-questions@freebsd.org
Subject:   Re: ftp_proxy syntax
Message-ID:  <3E4A9186.7050202@speakeasy.net>
In-Reply-To: <b2dsl1$1b46$1@FreeBSD.csie.NCTU.edu.tw>
References:  <b2dsl1$1b46$1@FreeBSD.csie.NCTU.edu.tw>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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