[Top][All Lists]

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

Re: unable to visit /ftp:address@hidden:~

From: Gregor Zattler
Subject: Re: unable to visit /ftp:address@hidden:~
Date: Mon, 14 Aug 2017 23:47:48 +0200

Hi Michael,
* Michael Albinus <> [2017-08-14; 18:21]:
> Gregor Zattler <> writes:
>> So there seems to be no ftp client in debian/stretch compatible
>> with ange-ftp which supports ssl :-(
>> Do you think this merits a bug report against emacs?
> Too late :-)
> I've installed ftp-ssl on my machine, and played with it and
> ange-ftp. Same problem accessing "/". But
> finally, I've got it running:
> 1. ftp-ssl writes an additional line ange-ftp is not aware of:
> SSL not available
> I've submitted a patch to the Emacs repo adding this message in
> ange-ftp.el. I let ange-ftp just skip this line.
> 2. ftp-ssl has an additional feature to support readline/editline. This
> comes in the way of ange-ftp batch processing. You must suppress it.
> There is `ange-ftp-ftp-program-args', which contains already useful
> arguments. I've added "-e". And voilĂ , with the resulting setting
> '("-e" "-i" "-n" "-g" "-v") I have been able to access
> "/".

Great, thanks.  I checked it out.  I had to add "-p" also,
otherwise it would hang before showing the files listing.  Now it
works in case of a connection without SSL.

With regard to my original use case (ftp access to my webspace)
though it still does not work:

For information about GNU Emacs and the GNU system, type C-h C-a.
Opening FTP connection to
Logging in as user
tramp-file-name-handler: FTP Error: USER request failed: 234 AUTH TLS successful

ftp> open
Connected to
220 ProFTPD 1.3.5b Server (ProFTPD) []
user "USER" Turtle Power!
234 AUTH TLS successful
200 PBSZ 0 successful
200 Protection set to Private
[Encrypted data transfer.]
ftp> 331 Password required for USER
230 User USER logged in
Remote system type is UNIX.
Using binary mode to transfer files.

If I then enter buffer *ftp* and type "ls" it
works there, but something is still missing for working fully

ftp> ls
227 Entering Passive Mode (212,144,99,144,223,133).
150 Opening BINARY mode data connection for file list
drwxr-x---   2 USER   psacln       4096 Apr 27  2015 error_docs
drwxr-x---   3 USER   psaserv      4096 Aug 11 15:31 httpdocs
drwx------   2 USER   root         4096 Aug 14 03:40 logs
drwx------   3 USER   psacln       4096 Aug 11 16:20 private
-rw-r--r--   1 USER   psacln         10 Aug 13 09:47 test.txt
226 Transfer complete

The culprit is probably the "234 AUTH TLS successful" line, since
in ange-ftp.el, there is no "234" as part of a regex.

This is now perhaps a problem specific to "ProFTPD 1.3.5b Server
(ProFTPD)".  I could provide you with credentials if you are
interested in this.

Regardless of this last issue: Thanks again for your fast

Ciao; Gregor 

reply via email to

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