From xemacs-m  Thu Mar 27 01:48:17 1997
Received: from macon.informatik.uni-tuebingen.de (macon2.Informatik.Uni-Tuebingen.De [134.2.13.2])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id BAA10783
	for <xemacs-beta@xemacs.org>; Thu, 27 Mar 1997 01:48:16 -0600 (CST)
Received: from modas.informatik.uni-tuebingen.de (modas.Informatik.Uni-Tuebingen.De [134.2.12.3]) by macon.informatik.uni-tuebingen.de (8.8.4/8.8.3/AIX-4.1/WSI-1.0) with SMTP id IAA20642; Thu, 27 Mar 1997 08:48:16 +0100
Received: by modas.informatik.uni-tuebingen.de (AIX 4.1/UCB 5.64/4.03)
          id AA16624; Thu, 27 Mar 1997 08:48:10 +0100
Sender: sperber@informatik.uni-tuebingen.de
To: andyp@parallax.co.uk (Andy Piper)
Cc: xemacs-beta@xemacs.org
Subject: Re: efs question
References: <199703261412.OAA25253@wrath.parallax.co.uk>
Mime-Version: 1.0 (generated by tm-edit 7.106)
Content-Type: text/plain; charset=ISO-8859-1
From: sperber@informatik.uni-tuebingen.de (Michael Sperber [Mr. Preprocessor])
Date: 27 Mar 1997 08:47:59 +0100
In-Reply-To: andyp@parallax.co.uk's message of Wed, 26 Mar 1997 14:12:08 GMT
Message-Id: <y9lhghx22ts.fsf@modas.informatik.uni-tuebingen.de>
Lines: 70
X-Mailer: Gnus v5.4.33/XEmacs 20.1(beta9)
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by xemacs.org id BAA10784

>>>>> "Andy" == Andy Piper <andyp@parallax.co.uk> writes:

>> >>>>> "Andy" == Andy Piper <andyp@parallax.co.uk> writes:

Andy> [...] If I want to ftp via our proxy I do:

Andy> wrath andyp> ftp red 2021
Andy> Connected to red.parallax.co.uk.
Andy> 220 red FTP proxy (Version V2.0beta) ready.
Andy> Name (red:andyp): anonymous@ftp.xemacs.org
Andy> 331-(----GATEWAY CONNECTED TO ftp.xemacs.org----)
Andy> 331-(220 xemacs FTP server (Version wu-2.4(1) Wed Sep 13 15:04:13 CDT 1995) ready.)
Andy> 331 Guest login ok, send your complete e-mail address as password.
Andy> Password:

Andy> red is the proxy. At no point am I logged into the proxy which the form you
Andy> quote requires. ange-ftp-smart-gateway used to understand this format but 
Andy> not anymore it appears. I am not actually allowed to connect direct to our
Andy> proxy anyway.

Hmm, could you mail your exact ange-ftp setup including all variable
settings?

I was looking at ange-ftp-smart-login (in 19.14, right?) which looks
like this:

(defun ange-ftp-smart-login (host user pass account proc)
  "Connect to the FTP-server on HOST as USER using PASSWORD and ACCOUNT.
PROC is the FTP-client's process.  This routine uses the smart-gateway
host specified in ``ange-ftp-gateway-host''."
  (let ((result (ange-ftp-raw-send-cmd
		 proc
		 (format "open %s %s"
			 (ange-ftp-nslookup-host ange-ftp-gateway-host)
			 ange-ftp-smart-gateway-port)
		 (format "Opening FTP connection to %s via %s"
			 host
			 ange-ftp-gateway-host))))
    (or (car result)
	(ange-ftp-error host user 
			(concat "OPEN request failed: "
				(cdr result))))
    (setq result (ange-ftp-raw-send-cmd
		  proc (format "user \"%s\"@%s %s %s"
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>^^^^^^^^^^^^^^^^^^^^^
			       user
			       (ange-ftp-nslookup-host host)
			       pass
			       account)
		  (format "Logging in as user %s@%s"
			  user host)))
    (or (car result)
	(progn
	  (ange-ftp-set-passwd host user nil) ; reset password
	  (ange-ftp-set-account host user nil) ; reset account
	  (ange-ftp-error host user
			  (concat "USER request failed: "
				  (cdr result)))))))


It seems to me it also logs in, then sends a user command.  Then
again, I don't have a proxy to verify this.

-- 
Cheers =8-} Chipsy
Friede, Vlkerverstndigung und berhaupt blabla

