LitDev Extension API

GW LD3DView LDArray LDBits LDBlueTooth
LDCall LDChart LDClient LDClipboard LDColours
LDCommPort LDController LDControls LDCursors LDDataBase
LDDateTime LDDebug LDDialogs LDDictionary LDEffect
LDEmail LDEncryption LDEvents LDFastArray LDFastShapes
LDFigures LDFile LDFinances LDFocus LDftp
LDGeography LDGraph LDGraphicsWindow LDHashTable LDHID
LDIcon LDImage LDInline LDIOWarrior LDList
LDLogic LDMath LDMathX LDMatrix LDMusic
LDNetwork LDPhysics LDProcess LDQueue LDRegex
LDResources LDScrollBars LDSearch LDServer LDSettings
LDShapes LDShell LDSort LDSound LDSpeech
LDStatistics LDStopwatch LDText LDTextWindow LDTimer
LDTranslate LDUnits LDUtilities LDVector LDWaveForm
LDWebCam LDWindows LDxml LDZip TW

LDZip
Zip file compression utilities.

Remove UnZip Zip
ZipList

Remove(zipFile,files)
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)
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)
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)
List the files in a zip archive.
zipFile The zip archive.
returns An array of file names in the zip or an error message.