From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: martin@rochooni.net Newsgroups: gmane.emacs.help Subject: Re: Emacs and Ange-ftp Date: Wed, 20 Oct 2004 15:07:27 +0200 Organization: Bosch Rexroth AG Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1098277691 31390 80.91.229.6 (20 Oct 2004 13:08:11 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 20 Oct 2004 13:08:11 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Oct 20 15:08:01 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CKGC8-0003Lu-00 for ; Wed, 20 Oct 2004 15:08:00 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CKGJW-00051c-Bj for geh-help-gnu-emacs@m.gmane.org; Wed, 20 Oct 2004 09:15:38 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!logbridge.uoregon.edu!news-FFM2.ecrc.net!news0.de.colt.net!news1.boschrexroth.de!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 98 Original-NNTP-Posting-Host: 10.110.240.55 Original-X-Trace: loghost1.eu.boschrexroth.com 1098277629 15186 10.110.240.55 (20 Oct 2004 13:07:09 GMT) Original-X-Complaints-To: usenet@eu.boschrexroth.com Original-NNTP-Posting-Date: Wed, 20 Oct 2004 13:07:09 +0000 (UTC) User-Agent: Emacs Gnus Cancel-Lock: sha1:3z77rMTvUmShMa+n+ejSmEy/jmU= Original-Xref: shelby.stanford.edu gnu.emacs.help:125970 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:21344 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:21344 "PL" == Pierre LOUSTAU writes: PL> Date: Wed, 20 Oct 2004 12:22:46 +0200 PL> PL> Hi all, PL> PL> I have problems using Emacs and Ange-ftp. PL> When i want to open a file from emacs on a remote machine using PL> ange-ftp I have the folowing problem : PL> PL> I open the file using : C-x C-f /username@machine:/pathtofile/file PL> PL> ... everything seems to be ok with connecting PL> ... the problem is that emacs only lists directory and doesn't want to PL> get the file ! which directory and how is it listed ? PL> PL> Please help me !!! PL> PL> Reading news, google and tons of posts i have added the following line PL> to my .emacs : PL> PL> (defcustom ange-ftp-skip-msgs PL> (concat "^200 \\(PORT\\|Port\\) \\|^331 \\|^150 \\|^350 \\|^[0-9]+ PL> bytes \\|" PL> "^Connected \\|^$\\|^Remote system\\|^Using\\|^ \\|Password:\\|" PL> "^Data connection \\|" PL> "^local:\\|^Trying\\|^125 \\|^550-\\|^221 .*oodbye\\|" PL> "^500 .*AUTH \\(KERBEROS\\|GSSAPI\\)\\|^KERBEROS\\|" PL> "^500 Les extensions de securite ne sont pas implementees\\|" PL> "^227 .*[Pp]assive") PL> "*Regular expression matching ftp messages that can be ignored." PL> :group 'ange-ftp PL> :type 'regexp) PL> PL> PL> Here is the ftp trace : PL> ftp> open ftp.clubdefrance.com PL> Connected to ftp.clubdefrance.com. PL> 220-FTP server ready. PL> 220 Ceci est un systeme prive - Aucun utilisateur anonyme autorise PL> user "clubdefrance.com" Turtle Power! PL> 500 Les extensions de securite ne sont pas implementees PL> 500 Les extensions de securite ne sont pas implementees PL> KERBEROS_V4 rejected as an authentication type PL> Remote system type is UNIX. PL> Using binary mode to transfer files. ftp> 331 Utilisateur clubdefrance.com OK. Veuillez taper votre mot de passe PL> 230-L'utilisateur clubdefrance.com a un acces de groupe sur: 1001 PL> 230-OK. Le repertoire restreint courant est / PL> 230 43849 Ko utilises (42%) - autorises: 102400 Ko ftp> hash PL> Hash mark printing on (1024 bytes/hash mark). ftp> pwd PL> 257 "/" est votre position actuelle ftp> ls "-al /www/." /home/pierre/tmp/ange-ftp5610aoj PL> 200 Commande PORT executee PL> ls "-al /www/." /home/pierre/tmp/ange-ftp5610Zqj PL> 150 Connexion au port 5001 PL> PL> 226-Options: -a -l PL> 226 60 elements au total ftp> ls "-al /." /home/pierre/tmp/ange-ftp5610m0p PL> 200 Commande PORT executee PL> ls "-al /www/." /home/pierre/tmp/ange-ftp5610z-v PL> 150 Connexion au port 5002 PL> PL> 226-Options: -a -l PL> 226 60 elements au total ftp> ls "-al /." /home/pierre/tmp/ange-ftp5610AJ2 PL> 200 Commande PORT executee PL> 150 Connexion au port 5003 PL> # PL> 226-Options: -a -l PL> 226 8 elements au total ftp> ls "-al /www/." /home/pierre/tmp/ange-ftp5610ySF PL> 200 Commande PORT executee PL> 150 Connexion au port 5004 PL> #### PL> 226-Options: -a -l PL> 226 60 elements au total ftp> 200 Commande PORT executee PL> 150 Connexion au port 5005 PL> # PL> 226-Options: -a -l PL> 226 8 elements au total ftp> 200 Commande PORT executee PL> 150 Connexion au port 5006 PL> #### PL> 226-Options: -a -l PL> 226 60 elements au total ftp> PL> -- martin dot fischer at boschrexroth dot de