On Mon, Mar 28, 2005 at 02:01:16PM -0500, James Wald wrote:
> Yes, this is when I am FXPing from a remote server to my own local server.
> > I actually have that configured and it still continues on forever.

Does this patch make any difference?

--
   Alexander.                      | http://www.yars.free.net/~lav/
Index: FileCopyFtp.cc
===================================================================
RCS file: /home/lav/cvsroot/lftp/src/FileCopyFtp.cc,v
retrieving revision 1.22
diff -u -p -r1.22 FileCopyFtp.cc
--- FileCopyFtp.cc      9 Mar 2005 07:54:09 -0000       1.22
+++ FileCopyFtp.cc      28 Mar 2005 20:36:24 -0000
@@ -138,8 +138,8 @@ int FileCopyFtp::Do()
       }
       RateReset();
 
-      src_retries=ftp_src->GetRetries();
-      dst_retries=ftp_dst->GetRetries();
+      src_retries=ftp_src->GetRetries()+1;
+      dst_retries=ftp_dst->GetRetries()+1;
       src_try_time=ftp_src->GetTryTime();
       dst_try_time=ftp_dst->GetTryTime();
       Close();

Reply via email to