unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Colin Baxter <m43cap@yandex.com>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: , help-gnu-emacs@gnu.org
Subject: Re: unable to use ange-mode to edit file on ftp server
Date: Tue, 17 Nov 2020 12:24:26 +0000	[thread overview]
Message-ID: <873618yxvp.fsf@yandex.com> (raw)
In-Reply-To: <87pn4cwaja.fsf@yandex.com> (Colin Baxter's message of "Tue, 17 Nov 2020 10:19:21 +0000")

>>>>> 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	other threads:[~2020-11-17 12:24 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-17  0:11 unable to use ange-mode to edit file on ftp server Frédéric Baldit
2020-11-17  0:33 ` Stefan Monnier
2020-11-17 10:19   ` Colin Baxter
2020-11-17 12:24     ` Colin Baxter [this message]
2020-11-17 14:00       ` [solved] " Frédéric Baldit
2020-11-17 15:10         ` Jean Louis

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=873618yxvp.fsf@yandex.com \
    --to=m43cap@yandex.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).