From owner-freebsd-questions Wed Feb 12 23: 9: 9 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6104C37B401 for ; Wed, 12 Feb 2003 23:09:07 -0800 (PST) Received: from home.crc.co.za (home.crc.co.za [196.36.165.34]) by mx1.FreeBSD.org (Postfix) with ESMTP id CFA1243FBD for ; Wed, 12 Feb 2003 23:09:02 -0800 (PST) (envelope-from doron@home.crc.co.za) Received: (from root@localhost) by home.crc.co.za (8.12.6/8.12.6) id h1D78CBH006703; Thu, 13 Feb 2003 09:08:12 +0200 (SAST) (envelope-from doron@home.crc.co.za) Received: from dman ([192.168.1.8]) by home.crc.co.za (8.12.6/8.12.6) with SMTP id h1D77tjD006673; Thu, 13 Feb 2003 09:08:02 +0200 (SAST) (envelope-from doron@home.crc.co.za) Message-ID: <005101c2d32e$c09e4770$0801a8c0@dman> From: "Doron Shmaryahu" To: "Daniel Schrock" , "Darren Spruell" , References: <3E4A9186.7050202@speakeasy.net> Subject: Re: ftp_proxy syntax Date: Thu, 13 Feb 2003 09:08:40 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-scanner: scanned by Inflex 1.0.12.3 - (http://pldaniels.com/inflex/) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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" To: "Darren Spruell" ; 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 . > > 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