Use AddFiles, ExtractFiles, DeleteFiles, MoveFiles, TestFiles, UpdateFiles methods property of TZipForge for handling files stored within the archive.
These methods supports wildcards in file names that allows to make a group operations on many files by single call.
ZipForge provides also some additional methods for handling single file stored inside the archive: AddFromBuffer, AddFromStream, AddFromString, ExtractToBuffer, ExtractToStream, ExtractToString, RenameFile.
Open archive file before using these methods.
There are some examples of archive management:
Look at Searching files within the archive topic to learn how to find files stored inside the archive.
|
|