Re: ftp_proxy syntax

2003-02-12 Thread Daniel Schrock
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 [EMAIL PROTECTED].
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 [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: ftp_proxy syntax

2003-02-12 Thread Sam Izzo
 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
 

Ah but the ftp man page says that the *_proxy variables are lowercase. :-)
Unless it's a typo..

sam


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: ftp_proxy syntax

2003-02-12 Thread Doron Shmaryahu
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 [EMAIL PROTECTED]
To: Darren Spruell [EMAIL PROTECTED];
[EMAIL PROTECTED]
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 [EMAIL PROTECTED].
  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 [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message





To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



ftp_proxy syntax

2003-02-12 Thread Darren Spruell
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 [EMAIL PROTECTED].
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,

--
Darren Spruell
Sento IS Department
[EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message