skcm
New Member
Posts: 3
|
Post by skcm on Sept 26, 2006 2:05:19 GMT -5
Hi,
How can I calculate the compressed file size and total uncompressed files size before compression?
Thanks, Sanal
|
|
|
Post by Kevin on Sept 26, 2006 7:02:01 GMT -5
Unfortunately, it is not possible to calculate the compressed size before compressing because the amount of compression depends on the makeup of the data that is being compressed. You can find the total uncompressed size before compressing by creating an OnStartZipInfo event. This event is called just before the first file is zipped and it includes TotalBytes as one of its parameters.
Kevin
|
|