On Wed, Jun 29, 2005 at 01:02:12AM +0400, Alexander V. Lukyanov wrote:
> > <--- AUTH
> This seems to be the reason why lftp does not try to negotiate secure
> connection - AUTH lacks arguments in FEAT reply. Probably this should be
> fixed on lftp side. As a workaround try:
Or apply this patch.
--
Alexander.
Index: ftpclass.cc
===================================================================
RCS file: /home/lav/cvsroot/lftp/src/ftpclass.cc,v
retrieving revision 1.356
diff -u -p -r1.356 ftpclass.cc
--- ftpclass.cc 28 Jun 2005 08:55:18 -0000 1.356
+++ ftpclass.cc 28 Jun 2005 21:04:13 -0000
@@ -3538,6 +3538,8 @@ void Ftp::CheckFEAT(char *reply)
conn->host_supported=true;
else if(!strncasecmp(f,"REST ",5)) // FIXME: actually REST STREAM
conn->rest_supported=true;
+ else if(!strcasecmp(f,"REST"))
+ conn->rest_supported=true;
else if(!strncasecmp(f,"MLST ",5))
{
conn->mlst_supported=true;
@@ -3558,6 +3560,8 @@ void Ftp::CheckFEAT(char *reply)
strcat(conn->auth_args_supported,f+5);
}
}
+ else if(!strcasecmp(f,"AUTH"))
+ conn->auth_supported=true;
else if(!strcasecmp(f,"CPSV"))
conn->cpsv_supported=true;
else if(!strcasecmp(f,"SSCN"))