ZipAddFolder
Add an empty folder to zip archive created with ZipCreateFile or ZipCreateBuffer.
OutputVar := ZipAddFolder(ZipHandle, ZipFileName)
Command Example: ZipAddFolder hZip, "scripts" Function Example: Success := ZipAddFolder(hZip, "scripts")
Parameters
- OutputVar
The name of the variable in which to store 1 / true if file was added successfully or 0 / false if operation failed.
- ZipHandle
Zip handle returned from ZipCreateFile or ZipCreateBuffer.
- ZipFileName
Path and name of the folder to use for zip archive.
Related
ZipCreateFile, ZipCloseFile, ZipOptions, UnZip, ZipCreateBuffer, ZipAddBuffer, ZipCloseBuffer, UnZipBuffer, ZipRawMemory, UnZipRawMemory, ZipInfo, ZipAddFile
Examples
hZip:=ZipCreateFile("C:\Test.zip") ZipAddFolder(hZip, "scripts") ZipCloseFile(hZip)