The Zip Package is a set of classes for reading and writing .zip files on Mac OS X, Windows and Linux. For use with the cross platform development system Xojo.
Current version is: 3.3.4, released 24 June 2014
If you create Zip archives with this software, any Zip compatible software on any operating system will be able to unpack them (and if it doesn't then I'll fix that ASAP).
Why you'd choose this over other zip tools
These classes give you direct access to every item inside a zip file, allowing you to...
- List all items in a zip file, with their names, sizes, dates and other attributes, enabling you to search and filter specific entries.
- Add files from various places to the zip file, simply by providing their FolderItems.
- Create epub files.
- Create your own custom folder structure in the archive.
- Add items to the zip file directly from memory. This means you can create the file data in a String and write it directly into the archive, without having to write it to a temporary file first.
- Choose which items you want to extract from an archive.
- Easily find out if the zip file contents are all inside a single folder, and extract only its contents, without the enclosing folder.
- Update existing zip files, by adding, replacing and deleting items.
- Compact zip files after deleting items in it.
- No support for encrypted archives.
- No support for files nor archives > 4GB (i.e. no Zip64 support).
- No support for multi-segment archives.
- Xojo or Real Studio Version 2011 or later
- On Windows: The zlib DLL from http://www.zlib.net/ (free) or the Einhugur e-CryptIt plugin.
- Tested to run on: Windows XP and 7, Mac OS X 10.4.11 and 10.6.5, Ubuntu 9.10
- New in version 3: New class ZipFolderItem, making adding items and browsing the contents much easier, as it works just like RB's FolderItem class.
- New in version 2: Does not require a plugin any more (but can still use the Einhugur e-CryptIt plugin for slightly better performance), using instead the free zlib library, which is even already pre-installed on OS X and Linux systems (you'll have to bundle it on Windows yourself, though).
- Compress entire folders with just a few calls.
- Make incremental backups of folder trees, updating only changed files while keeping multiple snapshots of your folder structure.
- MacBinary support (for preserving Mac OS X's resource forks, particularly Alias files).
- Compatible with PKZIP, Info-Zip, Aladdin Stuffit Zip, ZipIt, WinZip, etc.
The software license has changed with version 3.0 (as of Dec 8, 2010): The basic code may be used for free, while the use of the newly added ZipFolderItem class requires a license code when used in built (standalone) programs. The price for the license is US$ 35. (Purchase License here)
View the complete Readme file (includes release notes and instructions)
Download here (227 KB)
How to stay up-to-date
Click the orange RSS feed icon in the top right and bookmark the resulting page. That way, your RSS reader will inform you next time an update is made to this page.
Alternatively, follow me on Twitter (see side bar) or subscribe to my blog at http://blog.tempel.org