From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "David Diem" Newsgroups: gmane.emacs.help Subject: ange-ftp and explicit/implicit TLS Date: Sat, 26 Dec 2020 20:35:09 +0100 Message-ID: <5d44-5fe79080-275-53124080@198151915> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7326"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: SOGoMail 5.0.1 To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sat Dec 26 20:36:22 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 1ktFMU-0001ge-L2 for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 26 Dec 2020 20:36:22 +0100 Original-Received: from localhost ([::1]:59654 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ktFMT-0006YL-NA for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 26 Dec 2020 14:36:21 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42138) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ktFLV-0006Y1-P5 for help-gnu-emacs@gnu.org; Sat, 26 Dec 2020 14:35:21 -0500 Original-Received: from tasso.uni-konstanz.de ([134.34.240.59]:62970) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ktFLQ-0003RN-RV for help-gnu-emacs@gnu.org; Sat, 26 Dec 2020 14:35:21 -0500 Original-Received: from omicron.kim.uni-konstanz.de (omicron.kim.uni-konstanz.de [134.34.240.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by tasso.uni-konstanz.de (Postfix) with ESMTPS id 4D3DYD0HKXzD6 for ; Sat, 26 Dec 2020 20:35:11 +0100 (CET) Original-Received: from omicron.kim.uni-konstanz.de (localhost [134.34.240.46]) by omicron.kim.uni-konstanz.de (Postfix) with ESMTPSA id 1335E1FF for ; Sat, 26 Dec 2020 20:35:10 +0100 (CET) Original-Received: from dovecot-director-2.kim.uni-konstanz.de ([134.34.240.46]) by omicron.kim.uni-konstanz.de with ESMTPSA id bykRAm6Q51+RPAAA6IBqqw (envelope-from ) for ; Sat, 26 Dec 2020 20:35:10 +0100 X-Forward: 134.34.5.175 Received-SPF: pass client-ip=134.34.240.59; envelope-from=david.diem@uni-konstanz.de; helo=tasso.uni-konstanz.de X-Spam_score_int: -41 X-Spam_score: -4.2 X-Spam_bar: ---- X-Spam_report: (-4.2 / 5.0 requ) BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Content-Filtered-By: Mailman/MimeDel 2.1.23 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:126794 Archived-At: Hello, I'm trying to connect to a FTP server that requires TLS -- that is, FTP= S. I learned that /bin/ftp cannot do this, so I changed ange-ftp-ftp-pr= ogram-name to lftp. Ange-ftp still responds with "550 - TLS required on= the control channel". In a shell outside of emacs, "lftp myuser@myserv= er.com" can succesfully log in (the TLS information is given on stdout)= -- however, that is not the case for the command "lftp myserver.com" (= without the "user@") and a subsequent "DIR" or similar. The difference = of the non-emacs (non-ange-ftp) shell's output differs to that of ange-= ftp in that the first says "AUTH TLS" at an early point. Is this what is called explicit TLS? How could one tell ange-ftp to say= "AUTH TLS" early on? My real question, though, is why do the outputs o= f ange-ftp and non-ange-ftp "plain" lftp differ anyway? As I understand= the ange-ftp-name-format regexp, ange starts by saying something in th= e form of user@server.com, that is, it does include the user right form= the beginning. Best regards, David =C2=A0