Deleting Zip Entry from Zip archive using Minizip API
I am using Minizip API to zip and unzip file to and from my archive. I
have a requirement to delete the zip entry from the zip as soon as i
extract it.
if the zip archive has multiple zip entries , i am able to delete a
particular zip entry soon as i extract it and then able to zip archive
with the remaining zip entries. i am able to achieve this using a temp zip
..
But when i have a single file inside the zip archive, i am only able to
delete the zip after complete extraction....Can there be a optimize way
for this situation where i can extract and delete the zip entry in chunks.
there is no direct API's in minizip to delete, i am using raw write and
read.
Thanks in advance, JP
No comments:
Post a Comment