help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: unable to use ange-mode to edit file on ftp server


From: Colin Baxter
Subject: Re: unable to use ange-mode to edit file on ftp server
Date: Tue, 17 Nov 2020 12:24:26 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)

>>>>> Colin Baxter <m43cap@yandex.com> writes:

>>>>> Stefan Monnier <monnier@iro.umontreal.ca> writes:
    >>> though I have used the syntax indicated: C-x C-f
    >>> /user@hostname:file-path-on-root-directory

    >> I think nowadays you need to use the more explicit

    >> /ftp:user@hostname:...

    > Yes, that works well.

    > I for one have never been able set my password in
    > ~/.netrc.gpg. Whatever line I've entered, tramp always ask me for
    > my ftp server password. I have also tried entering it in my
    > authinfo file with

    > (setq ange-ftp-netrc-filename "~/path/to/authinfo")

    > but that doesn't work either.

    > Does anyone know the correct "machine <name> login port password,
    > etc."  format?

To answer my own question, use

(customize-set-variable 'ange-ftp-netrc-filename "~/path/to/authinfo.gpg")




reply via email to

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