c++qtzipquazip

QuaZip removing files inside archive


Is it possible to remove files inside zip archive with quazip ?


Solution

  • Unfortunately there is no function to do that.

    As a work-around you can open the zip archive and then use RAW reading and writing to copy the files you want not to be deleted and put them in a new zip archive. Then delete the old archive.

    This is not a very clean solution... Oh and it's not efficient either. For very huge archives it would take much time...