On Tue, Sep 27, 2005 at 12:39:45PM -0500, Douglas Mueller wrote:
> The patch didn't seem to make a difference. If there is any other way I
> can help. Please let me know.

Attached patch was the missing piece. Please test.

--
   Alexander.
Index: ftpclass.cc
===================================================================
RCS file: /home/lav/cvsroot/lftp/src/ftpclass.cc,v
retrieving revision 1.359
diff -u -p -r1.359 ftpclass.cc
--- ftpclass.cc 3 Aug 2005 07:12:48 -0000       1.359
+++ ftpclass.cc 28 Sep 2005 04:34:07 -0000
@@ -3075,7 +3075,7 @@ int   Ftp::SendEOT()
    if(!conn->data_iobuf->Eof())
       conn->data_iobuf->PutEOF();
 
-   if(conn->data_iobuf->Size()>0)
+   if(!conn->data_iobuf->Done())
       return(DO_AGAIN);
 
    DataClose();

Reply via email to