From: Pierre LOUSTAU <pierre@alartix.com>
Subject: Emacs and Ange-ftp
Date: Wed, 20 Oct 2004 12:22:46 +0200 [thread overview]
Message-ID: <cl5e9j$4u$1@aphrodite.grec.isp.9tel.net> (raw)
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>
next reply other threads:[~2004-10-20 10:22 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-10-20 10:22 Pierre LOUSTAU [this message]
2004-10-20 13:07 ` Emacs and Ange-ftp martin
2004-10-20 15:27 ` Pierre LOUSTAU
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='cl5e9j$4u$1@aphrodite.grec.isp.9tel.net' \
--to=pierre@alartix.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.