Alex,

Thanks for the patch.  The transfer successfully completes now before
the timeout takes over.  We had just worked around temporarily by
setting net:timeout to a larger value.

So what you're saying by the patch is that in ASCII mode, the timers and
timeouts aren't really effective (I'm assuming because it's already slow
enough due to it writing only one line each time Put_LL is called) and
so therefore write whatever is in the buffer at that time?

Makes sense to me.  We looked through the code for a bit, looking for a
place to easily do this same thing, but we were trying to trigger it
only when the timeout value occurred.  Lesson to us for trying to
complicate things. ;) 


Jason Burns
Information Security Technology
CAST -> Cryptography Services -> Secure Communications and Data
Encryption
UnixSecure Lead Engineer


-----Original Message-----
From: Alexander V. Lukyanov [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, August 21, 2007 11:10 PM
To: Burns, Jason C.
Cc: [email protected]
Subject: Re: Large files truncated

On Mon, Aug 20, 2007 at 02:28:45PM -0500, [EMAIL PROTECTED]
wrote:
> The problem we're having is large files being truncated in ASCII mode 
> when lftp receives a timeout from a server where REST is not supported

Please test this patch.

--
   Alexander.

Reply via email to