Change content of a zip file with Abbrevia

270 Views Asked by At

I have a existing zip archive and want to change a file which is already in the zipfile. Furthermore I want to add an file to the existing zip archive. I tried with TZipFile but it doesn't offer the required functionality. But Abbrevia should be able to but I don't know how.

coZip := TAbZipper.Create(nil);

coZip.OpenArchive(ContainerFileName);

coZip.ChangeFile(xxx); // What to do here? ChangeFile or similar function does not exist

coZip.AddFiles("NewFile.txt");

Any suggestions how to do that?

0

There are 0 best solutions below