From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Pierre LOUSTAU Newsgroups: gmane.emacs.help Subject: Re: Emacs and Ange-ftp Date: Wed, 20 Oct 2004 17:27:15 +0200 Organization: 9Telecom 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=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1098286377 28160 80.91.229.6 (20 Oct 2004 15:32:57 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 20 Oct 2004 15:32:57 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Oct 20 17:32:48 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 1CKISF-0000hJ-00 for ; Wed, 20 Oct 2004 17:32:47 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CKIZc-0003vH-QK for geh-help-gnu-emacs@m.gmane.org; Wed, 20 Oct 2004 11:40:25 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!headwall.stanford.edu!newshub.sdsu.edu!newshosting.com!nx01.iad01.newshosting.com!newsfeed.icl.net!newsfeed.fjserv.net!oleane.net!oleane!freenix!usenet-fr.net!gaoland.net!grec.isp.9tel.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 111 Original-NNTP-Posting-Host: 84.99.149.193 Original-X-Trace: aphrodite.grec.isp.9tel.net 1098286038 8261 84.99.149.193 (20 Oct 2004 15:27:18 GMT) Original-X-Complaints-To: abuse@9online.fr Original-NNTP-Posting-Date: Wed, 20 Oct 2004 15:27:18 +0000 (UTC) User-Agent: Mozilla Thunderbird 0.8 (X11/20040913) X-Accept-Language: fr, en In-Reply-To: Original-Xref: shelby.stanford.edu gnu.emacs.help:125975 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:21349 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:21349 martin@rochooni.net a écrit : > "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> my home directory is listed (i have messages in the mini buffer windows) Opening FTP connection to ftp.clubdefrance.com...done Logging in as user clubdefrance.com@ftp.clubdefrance.com...done Getting PWD...done Listing /clubdefrance.com@ftp.clubdefrance.com:/www/...done Listing /clubdefrance.com@ftp.clubdefrance.com:/www/...done Listing /clubdefrance.com@ftp.clubdefrance.com:/www/...done Listing /clubdefrance.com@ftp.clubdefrance.com:/...done Use C-u M-x make-directory RET RET to create directory and its parents Listing /clubdefrance.com@ftp.clubdefrance.com:/www/...done but the file is not opened !...