I am using Chilkat to uncompress a zip file created with Chilkat on a diffferent machine. Windows is able to open the zip file and extract the files, but when I try it with Chilkat I get the following error. I am running on v18.104.22.168 which is the latest. I've been able to extract many other zip files using the same system, it appears to be something about this specific zip file. The file is a larger than normal, 700 meg compressed, 1.2 gig uncompressed.
"Inflate from data source failed"
ChilkatLog: Unzip: DllDate: Dec 12 2012 UnlockPrefix: HIDDEN Username: CHILLLT12:CHILL Architecture: Little Endian; 32-bit Language: .NET 4.0 VerboseLogging: 0 verboseLogging: 0 oemCodePage: 437 UnzipDir: C:\Temp\vbUtility Error Problem - Chikat - 2013-01-25\TEMP onlyNewer: 0 ignoreZipDirs: 0 Inflate from data source failed. InflateErrorCode: 12 Inflate from data source failed. Compressed to uncompressed failed. Unzip failed filename: C:\Temp\vbUtility Error Problem - Chikat - 2013-01-25\TEMP\20130125123259_SEC_FULL.BKDB NumUnzipped: 1 Not all files extracted successfully. --Unzip --ChilkatLog
asked Jan 25 '13 at 16:17
The error indicates an problem with the compressed data. Given that the zip you are trying to unzip is already corrupt, the problem must've been in the creation of the zip, or sometime after the creation the zip was corrupted. The total size of a .zip shouldn't matter with this sort of problem, because each file within the .zip is compressed individually without relation to any other files. The only course of action would be to provide sample code w/ files that make it possible to re-create a corrupted .zip. Given that the other files don't matter, then if it's truly a bug within Chilkat, it should be possible to re-create a corrupted zip using only the file that causes this problem.
answered Jan 28 '13 at 09:07