Can't open ZIP archive!!!

+1 vote
asked Aug 5, 2010 by Maxim Kostyrkin (160 points)
edited Jul 12, 2012

Hi, Rebex Team!

Rebex ZIP for .NET can't open archive that it made itself with following options:

Compression method: No Compression
Encryption algorithm : ZIP 2.0
Password : Any

Exception:
Rebex.IO.Compression.ZipException: Invalid or corrupted ZIP archive (CorruptedArchive). ---> Rebex.IO.Compression.ZipException: Compressed length and uncompressed length differ although data is stored uncompressed (CorruptedArchive).

P.S. You can download a sample file at: http://depositfiles.com/files/7w4gk8q7p

Thanks.

Applies to: Rebex ZIP

1 Answer

+1 vote
answered Aug 5, 2010 by Lukas Matyska (59,530 points)
edited Jul 12, 2012
 
Best answer

It was forgotten check from the first version of the component when we didn't use ZIP 2.0 encryption method. I've just fixed the check and released current trial build

UPDATE: This is fixed in build 1.0.4060. Please download the current version of Rebex ZIP to get it.

...