WriteZipAndClose – Failed to move Zip file

When Chilkat Zip writes a .zip, it first writes to a temporary file. (The location of the temporary file is controlled by the zip.TempDir property.) After the .zip is successfully written to the temp file, it is then renamed (i.e. moved) to the output filename. The reason for doing this is to safeguard an existing .zip when rewriting. If writing […]

ZIP64 File Format Clarification

Question: I assume in order to use zip64 for larger files, I would need to be using a 64 bit machine? If so, this will not work as many of our clients use 32 bit machines. What are my other options? Answer: Chilkat Zip supports the ZIP64 file extensions. If a zip is too large (more than 4GB), either in […]

Zip “Save As” when Unzipping

Question: I have a need to unzip files from zip files created with Chilkat library, but I would like the library to allow me to specify the ‘SaveAs’ name of the file being unzipped.  I have not seen how to do this in the examples or the API documentation. Could you provide any insight into this for me?  I saw that I […]

Inflate from Zip to memory in C++

This example demonstrates how to inflate in-memory from a Zip in C++: CkZip zip; … // Assume we have a CkZip object and a .zip has been loaded. // It may have been loaded from a file by calling OpenZip, or from an // in-memory image of a .zip by calling OpenFromMemory. // (or any of the other CkZip.Open* methods) […]

Zip with Unicode Filenames (utf-8)

New examples demonstrating how to create a Zip archive using Unicode filenames: ASP: Create Zip with utf-8 Filenames (Unicode filenames) SQL Server: Create Zip with utf-8 Filenames (Unicode filenames) C#: Create Zip with utf-8 Filenames (Unicode filenames) C++: Create Zip with utf-8 Filenames (Unicode filenames) MFC: Create Zip with utf-8 Filenames (Unicode filenames) C: Create Zip with utf-8 Filenames (Unicode […]