Question:
Hi,
we use the ZIP-Library for unzippping images in a Windows Universal App. Sometimes there is an image in our zip-folder chilkat can not unzip. We get this error message:
ExtractInto:
DllDate: Apr 7 2016
ChilkatVersion: 9.5.0.58
UnlockPrefix: XXXX
Username: WinPhone:
Architecture: Little Endian; 64-bit
VerboseLogging: 0
inflateToBaseDir:
inflateMappedEntry:
inflateToOutput2:
mappedInflateToOutput:
fromDeflated:
inflateFromSource:
inflateSource:
decodeErrNum: 5
inflate decode error.
inflateBlock failed.
--inflateSource
Inflate from source failed.
--inflateFromSource
--fromDeflated
--mappedInflateToOutput
--inflateToOutput2
Unzip failed
path: C:\Users\XXXXX
--inflateMappedEntry
--inflateToBaseDir
Failed.
--ExtractInto
The code looks like this:
Chilkat.Zip zip = new Chilkat.Zip();
zip.SetPassword(zipPassword);
if (zip.OpenFromMemory(zipBytes))
{
Chilkat.ZipEntry entry = zip.GetEntryByName(nameOfFile);
bool success = await entry.ExtractIntoAsync(localStorage.Path);
if (!success)
{ // Logging }
} else { // Logging }
zip.CloseZip();
Can anyone tell us, where we have to look, what's causing the problem? With an other library (SharpZipLib with WinForms) the exact same file can be unzipped. And most of the images can be unzipped with chilkat too.
Thanks in advance