Archived Forum Post

Index of archived forum posts


Decompress a ZIP Entry

Dec 18 '13 at 09:38

My company used to use a product called DynaZip which is no longer supported. Through trial and error I have found out that most likely the data stored in our databases is in ZIP terms, a single Chilkat ZipEntry, as its header signature is 50 4B 01 02 14 00 14 00 00 00 08 00. Is there any way I can use Chilkat to continue to compress and decompress our single entry "files" (we actually store those entries in a database as a BLOB)?

Any help will be greatly appreciated.

UPDATE: I tried this:

  var zip2 = new Zip();
  zip2.AppendCompressed(String.Format("T{0}.bin", record.ARCHIVED_FILE_BLOB), data);

but am getting a Chilkat error:

    DllDate: Aug 15 2013
    UnlockPrefix: BISOFTZIP
    Username: BISWS07:Darek
    Architecture: Little Endian; 64-bit
    Language: .NET 4.0 / x64
    VerboseLogging: 0
    decodeErrNum: 7
    inflate decode error.
    inflateBlock failed.
    Inflate from source failed.


I have found an answer here: