[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Emacs and Ange-ftp
From: |
Pierre LOUSTAU |
Subject: |
Emacs and Ange-ftp |
Date: |
Wed, 20 Oct 2004 12:22:46 +0200 |
User-agent: |
Mozilla Thunderbird 0.8 (X11/20040913) |
Hi all,
I have problems using Emacs and Ange-ftp.
When i want to open a file from emacs on a remote machine using
ange-ftp I have the folowing problem :
I open the file using : C-x C-f /username@machine:/pathtofile/file
... everything seems to be ok with connecting
... the problem is that emacs only lists directory and doesn't want to
get the file !
Please help me !!!
Reading news, google and tons of posts i have added the following line
to my .emacs :
(defcustom ange-ftp-skip-msgs
(concat "^200 \\(PORT\\|Port\\) \\|^331 \\|^150 \\|^350 \\|^[0-9]+
bytes \\|"
"^Connected \\|^$\\|^Remote system\\|^Using\\|^ \\|Password:\\|"
"^Data connection \\|"
"^local:\\|^Trying\\|^125 \\|^550-\\|^221 .*oodbye\\|"
"^500 .*AUTH \\(KERBEROS\\|GSSAPI\\)\\|^KERBEROS\\|"
"^500 Les extensions de securite ne sont pas implementees\\|"
"^227 .*[Pp]assive")
"*Regular expression matching ftp messages that can be ignored."
:group 'ange-ftp
:type 'regexp)
Here is the ftp trace :
ftp> open ftp.clubdefrance.com
Connected to ftp.clubdefrance.com.
220-FTP server ready.
220 Ceci est un systeme prive - Aucun utilisateur anonyme autorise
user "clubdefrance.com" Turtle Power!
500 Les extensions de securite ne sont pas implementees
500 Les extensions de securite ne sont pas implementees
KERBEROS_V4 rejected as an authentication type
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> 331 Utilisateur clubdefrance.com OK. Veuillez taper votre mot de passe
230-L'utilisateur clubdefrance.com a un acces de groupe sur: 1001
230-OK. Le repertoire restreint courant est /
230 43849 Ko utilises (42%) - autorises: 102400 Ko
ftp> hash
Hash mark printing on (1024 bytes/hash mark).
ftp> pwd
257 "/" est votre position actuelle
ftp> ls "-al /www/." /home/pierre/tmp/ange-ftp5610aoj
200 Commande PORT executee
ls "-al /www/." /home/pierre/tmp/ange-ftp5610Zqj
150 Connexion au port 5001
226-Options: -a -l
226 60 elements au total
ftp> ls "-al /." /home/pierre/tmp/ange-ftp5610m0p
200 Commande PORT executee
ls "-al /www/." /home/pierre/tmp/ange-ftp5610z-v
150 Connexion au port 5002
226-Options: -a -l
226 60 elements au total
ftp> ls "-al /." /home/pierre/tmp/ange-ftp5610AJ2
200 Commande PORT executee
150 Connexion au port 5003
#
226-Options: -a -l
226 8 elements au total
ftp> ls "-al /www/." /home/pierre/tmp/ange-ftp5610ySF
200 Commande PORT executee
150 Connexion au port 5004
####
226-Options: -a -l
226 60 elements au total
ftp> 200 Commande PORT executee
150 Connexion au port 5005
#
226-Options: -a -l
226 8 elements au total
ftp> 200 Commande PORT executee
150 Connexion au port 5006
####
226-Options: -a -l
226 60 elements au total
ftp>
- Emacs and Ange-ftp,
Pierre LOUSTAU <=