[Top][All Lists]

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

unable to visit /ftp:address@hidden:~

From: Gregor Zattler
Subject: unable to visit /ftp:address@hidden:~
Date: Fri, 11 Aug 2017 18:23:26 +0200

Dear emacs users,

I'm unable to visit /
although there is a line

machine port ftp  login USER     password "PASSWORD"

in my ~/.authinfo.gpg

with the correct infos instead of the capitalised parts.

This is no configuration issue, since this:

EMACS -Q -nw --eval "(setq auth-source-debug 'trivia)" --eval '(setq 
ange-ftp-netrc-filename "~/.authinfo.gpg")'   /

does not work for emacs24, emacs25 and emacs-snapshot (emacs from
git as of today) as values of EMACS.  I'm asked by gpg-agent for
my passphrase to the key which decrypts ~/.authinfo.gpg and
actually I am able to visit this file and see it's decrypted

Without setting ange-ftp-netrc-filename I'm not asked by
gpg-agent but instead emacs asks me for the password of

but the result is otherwise the same (besides the line regarding

For information about GNU Emacs and the GNU system, type C-h C-a.
Decrypting /home/grfz/.authinfo.gpg...done
Opening FTP connection to
tramp-file-name-handler: FTP Error: OPEN request failed: open

ftp> open
Connected to
220 ProFTPD 1.3.5b Server (ProFTPD) []
234 AUTH TLS successful
200 PBSZ 0 successful
200 Protection set to Private
[Encrypted data transfer.]

If I then type ls in the *ftp* (Internal
Ange-ftp:run) buffer I get:

ftp> ls
530 Please login with USER and PASS
ftp: bind: Address already in use

This is on debian 9.1 (stretch) with ftp provided by package

~$ type -a ftp
ftp is /usr/bin/ftp
~$ ls -l /usr/bin/ftp
lrwxrwxrwx 1 root root 21 Jul  1 15:38 /usr/bin/ftp -> /etc/alternatives/ftp*
~$ ls -l /etc/alternatives/ftp
lrwxrwxrwx 1 root root 16 Jul  1 15:38 /etc/alternatives/ftp -> 
~$ file /usr/bin/ftp-ssl
/usr/bin/ftp-ssl: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), 
dynamically linked, interpreter /lib64/, for GNU/Linux 
2.6.32, BuildID[sha1]=e7426e29e339b8432948fadea38cf0137e6b3e62, stripped

Any ideas how to make emacs/tramp connect to this ftp site?

Thanks for your reading, Gregor

reply via email to

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