0 votes
by (120 points)
edited

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
by (73.6k points)
edited

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.

...