This function has been deprecated: Please use the wwZipArchive class instead
Unzips a Zip file into a folder structure maintaining the zip files directory structure.
If the folder doesn't exists it is created assuming the folder name is valid. The folder is not overwritten first so existing files that are not in the archive are preserved. If you wish a 'clean' unzip operation, delete the folder and any contents prior to unpacking.
o.UnzipFolder(lcZip, lcFolder)
Return Value
.T. or .F.
Parameters
lcZip
Zip file to unzip.
lcFolder
The folder to create or unzip into. If the folder exists files are written into this folder and files are overwritten.
Remarks
- This is a standalone function not part of the wwAPI class
- Depends on wwDotnetBridge
Example
DO wwDotnetBridge
DO wwapi
lcZipFile = "D:\temp\zipfiles.zip"
ZipFolder(lcZipFile,"D:\temp\DecoPlateServices",.F., "*.cs,*.md")
* GoUrl(lcZipFile) && open zip file
? UnzipFolder(lcZipFile,"d:\temp\Unpacked\1")
See also:
Class wwApi© West Wind Technologies, 1996-2024 • Updated: 06/01/24
Comment or report problem with topic