RebEx Zip API supports 7-zip format files?

0 votes
asked Nov 20, 2012 by Athadu (120 points)
edited Nov 21, 2012

Hi

I was wondering if RebEx Zip API supports 7-zip format files? If it does, is there anything specific I need to do to open the file.

I am using Zip Explorer sample app and I am getting a 'Invalid or corrupted zip archive' message - similar message when I open with ZipArchive class constructor.

Thank you Regards Athadu

Applies to: Rebex ZIP

1 Answer

0 votes
answered Nov 21, 2012 by Lukas Matyska (42,060 points)
edited Nov 21, 2012

The Rebex Zip for .NET supports only ZIP format (traditional PKWARE's ZIP format).

The exception indicates that you are trying to open a 7-zip file (not a ZIP file). You can check it easy by looking at the first two bytes of the file. If it is '7z' it is a 7-zip file, if it is 'PK' it is a ZIP file.

...