zip library for native C++ with remove/modify capabilities
I am looking for a simple zip library (prefers without dll/lib) that will have zip modifica开发者_如何学JAVAtion capabilities.
The only option I've found so far to update/remove entries is by creating a temp file and writing everything to this temp, and than rename it to the original file.
Does anyone know a better way to update/remove zip entries without all that mess?
Thanks!
libzip has support for replacing: zip_replace(3) and deleting: zip_delete(3) files in a zip archive.
It isn't possible to modify a zip file "in place". Even Winzip and PKZip make copies.
精彩评论