LitDev Extension API
LDZip
![](images/IntellisenseObject.png)
Zip file compression utilities.
Remove
![]() |
UnZip
![]() |
Zip
![]() |
ZipList
![]() |
Remove(zipFile,files)
![](images/IntellisenseMethod.png)
Remove a file (or directory with all sub files) from an existing zip archive.
zipFile The zip archive to remove a file from.
files An array of files to remove from the zip archive.
A single file or directory may also be deleted.
Any directories will be recursively removed from the zip.
returns An error message or "".
UnZip(zipFile,directory)
![](images/IntellisenseMethod.png)
Uncompress a zip archive.
zipFile The zip archive to uncompress.
directory A directory to uncompress the files to (existing files will be overwritten).
returns An error message or "".
Zip(zipFile,files)
![](images/IntellisenseMethod.png)
Compress files to a zip archive.
zipFile The zip archive file to create.
files An array of files to append to the zip archive.
A single file or directory may also be set.
Any directories will be recursively added to the zip.
Any white space in files or directories will be replaced with "_".
returns An error message or "".
ZipList(zipFile)
![](images/IntellisenseMethod.png)
List the files in a zip archive.
zipFile The zip archive.
returns An array of file names in the zip or an error message.