help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Emacs and Ange-ftp


From: martin
Subject: Re: Emacs and Ange-ftp
Date: Wed, 20 Oct 2004 15:07:27 +0200
User-agent: Emacs Gnus

"PL" == Pierre LOUSTAU <pierre@alartix.com> 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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]