Please try this patch.
The problem was the code 221 instead of normal 211.
--
Alexander.
Index: ftpclass.cc
===================================================================
RCS file: /home/lav/cvsroot/lftp/src/ftpclass.cc,v
retrieving revision 1.395.2.4
diff -u -p -r1.395.2.4 ftpclass.cc
--- ftpclass.cc 31 Aug 2007 06:41:16 -0000 1.395.2.4
+++ ftpclass.cc 24 Sep 2007 13:00:18 -0000
@@ -3614,10 +3614,13 @@ void Ftp::CheckFEAT(char *reply)
for(char *f=strtok(scan,"\r\n"); f; f=strtok(0,"\r\n"))
{
- if(!strncmp(f,"211 ",4))
- break; // last line
- if(!strncmp(f,"211-",4))
- f+=4; // workaround for broken servers, RFC2389 does not allow it.
+ if(!strncmp(f,line,3))
+ {
+ if(f[3]==' ')
+ break; // last line
+ if(f[3]=='-')
+ f+=4; // workaround for broken servers, RFC2389 does not allow
it.
+ }
while(*f==' ')
f++;