On Wed, Apr 28, 2004 at 11:12:49AM +0200, Krysak Zeman wrote:
> I have following problem with lftp 3.0.x - i cannot login to my glftpd (v2 BETA3)
> server.
You can either do `set ftp:ssl-allow no' or apply attached patch.
The problem was that the server included AUTH in FEAT reply but refused
to initiate secure connection and lftp mis-handled that.
--
Alexander.
--- ftpclass.cc 19 Apr 2004 11:22:57 -0000
+++ ftpclass.cc 28 Apr 2004 09:50:56 -0000
@@ -2061,7 +2061,7 @@ int Ftp::Do()
Delete(conn->data_iobuf);
conn->data_iobuf=0;
#ifdef USE_SSL
- if(conn->prot=='P')
+ if(conn->ssl_is_activated() && conn->prot=='P')
{
conn->data_ssl=lftp_ssl_new(conn->data_sock,hostname);
// share session id between control and data connections.