From xemacs-m  Fri Apr 11 09:02:32 1997
Received: from master.control.att.com ([135.205.52.13])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id JAA08480
	for <xemacs-beta@xemacs.org>; Fri, 11 Apr 1997 09:02:31 -0500 (CDT)
Received: from i.control.att.com by master.control.att.com with esmtp
	(Smail3.1.29.1 #3) id m0wFgpq-002ix0C; Fri, 11 Apr 97 09:57 EDT
Received: by i.control.att.com (Smail3.1.29.1 #1)
	id m0wFgpq-000mUTC; Fri, 11 Apr 97 09:57 EDT
Message-Id: <m0wFgpq-000mUTC@i.control.att.com>
Date: Fri, 11 Apr 97 09:57 EDT
From: Larry Auton <lda@control.att.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
To: Adrian Aichner <aichner@ecf.teradyne.com>
Cc: xemacs-beta@xemacs.org
Subject: Re: need efs to use passive ftp
In-Reply-To: <rxsbu7lyk18.fsf@midnight.ecf.teradyne.com>
References: <m0wFVzL-000h9tC@wander.control.att.com>
	<rxsbu7lyk18.fsf@midnight.ecf.teradyne.com>
X-Mailer: VM 6.24 under 20.1 XEmacs Lucid (beta14)

Adrian Aichner writes:
>     Larry> I get to sites outside our corporate network via a
>     Larry> gateway. As a result, I have to use passive FTP.  I can't
>     Larry> find a documented method for sending the 'passive' command
>     Larry> at the first ftp> prompt. If you know, please drop me a
>     Larry> line.
> 
> Hello Larry,
> 
> I can offer an answer to what might be a different question:
> 
> Way back I had the problem that ange-ftp would hang on startup because 
> it didn't understand a message that only passive ftp would generate.
> I fixed this and have since brought this solution over to EFS:
> 
> ;;;
> ;;; Attempting to cope with PASV ftp.
> ;;; YES, we can cope!
> ;;;
> ;;; Adrian Aichner, Teradyne GmbH Munich, Thu., Jul. 04, 1996.
> ;;;
> (add-hook 'efs-load-hook
>           '(lambda ()
>              (setq efs-skip-msgs
>                    (concat efs-skip-msgs
>                            "\\|^returning from dataconn()"
>                            "\\|^227 "
>                            )
>                    )))
> 
> Now (xemacs-20.1-b12) I just verified that I don't need the above
> customization anymore.
> 
> Check the documentation on 'Gateways:' in lisp/efs/efs.el.

I skimmed through lisp/efs/*.el and though I found the stuff that
parses PASV results, etc, didn't find anything to send the PASV
command ('passive') when starting the ftp session.

-lda

