* 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
* Re: Emacs and Ange-ftp
2004-10-20 10:22 Emacs and Ange-ftp Pierre LOUSTAU
@ 2004-10-20 13:07 ` martin
2004-10-20 15:27 ` Pierre LOUSTAU
0 siblings, 1 reply; 3+ messages in thread
From: martin @ 2004-10-20 13:07 UTC (permalink / raw)
"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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Emacs and Ange-ftp
2004-10-20 13:07 ` martin
@ 2004-10-20 15:27 ` Pierre LOUSTAU
0 siblings, 0 replies; 3+ messages in thread
From: Pierre LOUSTAU @ 2004-10-20 15:27 UTC (permalink / raw)
martin@rochooni.net a écrit :
> "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>
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 !...
^ 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).