wwZipArchive::UnzipFile

Retrieves an individual file from a zip archive and saves it to disk.

o.UnzipFile(lcZipFile, lcEntry, lcTargetFile)

Return Value

.T. or .F. - check cErrorMsg for error

Parameters

lcZipFile
The zip file to extract from

lcEntry
The entry in the zip file. This should be a relative path that reflects the zip structure. For example: files\somefile.txt or somefile.txt

lcTargetFile
Target file to write to.

llNoOverwrite
If .T. the file is not extracted if it already exists.


See also:

Class wwZipArchive | wwZipArchive::GetZipEntry | wwZipArchive::UnzipFolder | wwZipArchive::ZipFiles

© West Wind Technologies, 2024 • Updated: 06/01/24
Comment or report problem with topic