unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Michael Albinus <michael.albinus@gmx.de>
To: Gregor Zattler <telegraph@gmx.net>
Cc: help-gnu-emacs@gnu.org
Subject: Re: unable to visit /ftp:USER@MACHINE.com:~
Date: Mon, 14 Aug 2017 18:21:05 +0200	[thread overview]
Message-ID: <87shgu3ytq.fsf@detlef> (raw)
In-Reply-To: <87wp67pwgy.fsf@len> (Gregor Zattler's message of "Sun, 13 Aug 2017 12:56:29 +0200")

Gregor Zattler <telegraph@gmx.net> writes:

> Hi Michael,

Hi Gregor,

>> I've just tried plain ftp in Emacs to "/ftp:anonymous@ftp.gnu.org:",
>> this works w/o problems on my machine. Could you try it also?
>
> Aha!:
>
> ftp> open ftp.gnu.org
> open ftp.gnu.org
> Connected to ftp.gnu.org.
> 220 GNU FTP server ready.
> 530 Please login with USER and PASS.
> 530 Please login with USER and PASS.
> SSL not available
> ftp>
>
> So there seems to be no ftp client in debian/stretch compatible
> with ange-ftp which supports ssl :-(
>
> Do you think this merits a bug report against emacs?

Too late :-)

I've installed ftp-ssl on my machine, and played with it and
ange-ftp. Same problem accessing "/ftp:anonymous@ftp.gnu.org:". But
finally, I've got it running:

1. ftp-ssl writes an additional line ange-ftp is not aware of:

SSL not available

I've submitted a patch to the Emacs repo adding this message in
ange-ftp.el. I let ange-ftp just skip this line.

2. ftp-ssl has an additional feature to support readline/editline. This
comes in the way of ange-ftp batch processing. You must suppress it.

There is `ange-ftp-ftp-program-args', which contains already useful
arguments. I've added "-e". And voilà, with the resulting setting
'("-e" "-i" "-n" "-g" "-v") I have been able to access
"/ftp:anonymous@ftp.gnu.org:".

> Thanks for your help, Gregor

Best regards, Michael.



  reply	other threads:[~2017-08-14 16:21 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-11 16:23 unable to visit /ftp:USER@MACHINE.com:~ Gregor Zattler
2017-08-13  8:57 ` Michael Albinus
2017-08-13 10:56   ` Gregor Zattler
2017-08-14 16:21     ` Michael Albinus [this message]
2017-08-14 21:47       ` Gregor Zattler
2017-08-15  3:36         ` Michael Albinus
2017-08-16 10:01         ` Michael Albinus
2017-08-16 22:38           ` Gregor Zattler
2017-08-17 21:59             ` Gregor Zattler

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=87shgu3ytq.fsf@detlef \
    --to=michael.albinus@gmx.de \
    --cc=help-gnu-emacs@gnu.org \
    --cc=telegraph@gmx.net \
    /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).