ZipAddFolder
| Definition: |
include builtins\LiteZip.e
object res = ZipAddFolder(atom hzip, string zipname) |
| Description: |
Adds an empty folder to a zip archive.
hzip: the result of a successful call to ZipCreateFile(). zipname: the name of the empty folder to be created. There is no need for the directory to exist, so you only need to provide the name that you want it to be stored as. This function is generally only useful if you want the final archive to contain an empty folder; there is no need whatsoever to add a folder before adding files and subdirectories in that folder. Returns ZR_OK (=0) or a string error message. |
| pwa/p2js: | Not supported |
| Example: |
include builtins\LiteZip.e
atom hzip = ZipCreateFile("test.zip")
object res = ZipAddFolder(hzip,"test")
ZipClose(hzip)
|
| See Also: | ZipCreateFile, ZipClose |