unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Emacs and Ange-ftp
@ 2004-10-20 10:22 Pierre LOUSTAU
  2004-10-20 13:07 ` martin
  0 siblings, 1 reply; 3+ messages in thread
From: Pierre LOUSTAU @ 2004-10-20 10:22 UTC (permalink / 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>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-10-20 15:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-20 10:22 Emacs and Ange-ftp Pierre LOUSTAU
2004-10-20 13:07 ` martin
2004-10-20 15:27   ` Pierre LOUSTAU

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).