开发者

zip library for native C++ with remove/modify capabilities

开发者 https://www.devze.com 2023-03-05 05:32 出处:网络
I am looking for a simple zip library (prefers without dll/lib) that will have zip modifica开发者_如何学JAVAtion 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.

0

精彩评论

暂无评论...
验证码 换一张
取 消