This patch should help.
--
Alexander.
Index: ftpclass.cc
===================================================================
RCS file: /home/lav/cvsroot/lftp/src/ftpclass.cc,v
retrieving revision 1.395.2.5
diff -u -p -r1.395.2.5 ftpclass.cc
--- ftpclass.cc 24 Sep 2007 14:20:19 -0000 1.395.2.5
+++ ftpclass.cc 15 Oct 2007 10:30:08 -0000
@@ -2172,7 +2172,7 @@ int Ftp::Do()
if(state!=WAITING_150_STATE || Error())
return MOVED;
if(!conn->received_150)
- return m;
+ goto usual_return;
// now init data connection properly and start data exchange
assert(rate_limit==0);