From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Colin Baxter Newsgroups: gmane.emacs.help Subject: Re: unable to use ange-mode to edit file on ftp server Date: Tue, 17 Nov 2020 12:24:26 +0000 Message-ID: <873618yxvp.fsf@yandex.com> References: <20201117011125.38200c89@Cornafion.lan> <87pn4cwaja.fsf@yandex.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22771"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) Cc: , help-gnu-emacs@gnu.org To: Stefan Monnier Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Tue Nov 17 13:26:30 2020 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kf045-0005qL-QP for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 17 Nov 2020 13:26:29 +0100 Original-Received: from localhost ([::1]:48798 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kf043-0001zX-B9 for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 17 Nov 2020 07:26:28 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60756) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kf036-0001wy-AB for help-gnu-emacs@gnu.org; Tue, 17 Nov 2020 07:25:28 -0500 Original-Received: from forward102o.mail.yandex.net ([37.140.190.182]:50860) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kf02S-0005Vw-KW for help-gnu-emacs@gnu.org; Tue, 17 Nov 2020 07:25:27 -0500 Original-Received: from mxback13j.mail.yandex.net (mxback13j.mail.yandex.net [IPv6:2a02:6b8:0:1619::88]) by forward102o.mail.yandex.net (Yandex) with ESMTP id 954A866809A9; Tue, 17 Nov 2020 15:24:28 +0300 (MSK) Original-Received: from myt2-accb38a5c431.qloud-c.yandex.net (myt2-accb38a5c431.qloud-c.yandex.net [2a02:6b8:c00:2e9b:0:640:accb:38a5]) by mxback13j.mail.yandex.net (mxback/Yandex) with ESMTP id eEj61CEaLw-OSeuXJjW; Tue, 17 Nov 2020 15:24:28 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.com; s=mail; t=1605615868; bh=HpTKLuSeXFkdMLj5lK8QShrcSbgviZInfLdWZMidzA4=; h=In-Reply-To:Subject:To:From:Cc:Cc:Date:References:Message-ID; b=OBprkbJ4NJZxwH8r1R2I4GdWChjRjpLygQyJmgCuipqO+RogD3Ay5qyj0u35KD4gE TJwa8to80ZcCL7Kd3Qr/51T6r42eRkRPG2wqqrULSab7PJFMKaf+CEiiLm+KZQqNQP tdozXtGixykr9ooO1ADYw6jg6AOXMz+eed3AH7Yk= Authentication-Results: mxback13j.mail.yandex.net; dkim=pass header.i=@yandex.com Original-Received: by myt2-accb38a5c431.qloud-c.yandex.net (smtp/Yandex) with ESMTPSA id NmjSYdqzC5-ORI06DLT; Tue, 17 Nov 2020 15:24:27 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) X-Face: BHjiJOg/Qmj'BQgsAKL@])L)e62P)C"Y=6T In-Reply-To: <87pn4cwaja.fsf@yandex.com> (Colin Baxter's message of "Tue, 17 Nov 2020 10:19:21 +0000") Face: iVBORw0KGgoAAAANSUhEUgAAAGQAAAAeBAMAAAAodabAAAAAB3RJTUUH1wQdAAY04/L8hgAA AAlwSFlzAAAewQAAHsEBw2lUUwAAAARnQU1BAACxjwv8YQUAAAASUExURc7OzpwAAAAAAP////8A AGNj/2aqqTQAAAA8SURBVHjaYzA2NnEBAmdj01D8wNgYpM7F2JiBgYFREAgEGJiU8AMGBpA6QaCG UVtGbRm1ZdSWUVsGjS0Aq20lJnMawnkAAAAASUVORK5CYII= Received-SPF: pass client-ip=37.140.190.182; envelope-from=m43cap@yandex.com; helo=forward102o.mail.yandex.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/11/17 07:24:41 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:125287 Archived-At: >>>>> Colin Baxter writes: >>>>> Stefan Monnier 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 login port password, > etc." format? To answer my own question, use (customize-set-variable 'ange-ftp-netrc-filename "~/path/to/authinfo.gpg")