|Subject:||Re: IDFTP TransferMode(dmDeflate);|
|Posted by:||Remy Lebeau \(Indy Team\) (email@example.com)|
|Date:||Mon, 6 Apr 2009|
"Theart" <nyxsn…@126.com> wrote in message
What value is Size() actually returning? Is it the correct size of the
compressed file transfer, or is it the size of the uncompressed file prior
to being transferred?
> Gauge1.Progress := trunc(AWorkCount/tsize*100) // --> Gauge1.Progress is
You need to be more specific. Just saying it is wrong is not helpful. What
is the actual value of AWorkCount? Of tsize? The OnWork... events are
going to represent the number of compressed bytes received, not the number
of decompressed bytes that are written to the local file.
Remy Lebeau (TeamB)
IDFTP TransferMode(dmDeflate); posted by Theart on Fri, 3 Apr 2009