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

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

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


From: Frédéric Baldit
Subject: [solved] Re: unable to use ange-mode to edit file on ftp server
Date: Tue, 17 Nov 2020 15:00:34 +0100

Hi,
thank's for the answer! Entering C-x C-f /ssh:user@hostname:file-path
solved it.
I'm quite impressed by this new capability (for me), as I no long need
to use filezilla to upload my .php web files from local side to
distant web hosting side. 

--
  Frédéric Baldit

Le mar. 17 nov. 2020 à 12:24:26 +0000
Colin Baxter <m43cap@yandex.com> a écrit:

> >>>>> 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]