openFrameworks addon, primarily for dealing with existing zip archives, but a zipping method is provided for convenience. Extract, read individual files from archive to ofBuffer.
Forks
Forks pushed to more recently than jeffcrouse/ofxZipArchive itself, plus any admin-confirmed fork with commits of its own — worth checking if you're hitting issues with the original.
README
ofxZipArchive
Primarily for dealing with existing zip archives. Features include:- list - list the files inside a zip archive
- unzip - unzip the entire archive to a destination
- read individual files to ofBuffer
- compress - compress folders and files with variable compression
IMPORTANT
This addon is a little picky about the way you compress files. For instance, on OSX, it doesn't seem to like the right-click>Compress compression - whatever it is. Instead, use the command line
zip -r archive.zip archive/ If you have any idea why this is, please let me know!
ofxAddons