UnpackArchive (open)
Unpacks an archive
Syntax
LOADLIB "wh::filetypes/archiving.whlib";
RECORD ARRAY FUNCTION UnpackArchive(BLOB data)Parameters
BLOB dataBlob with the archive
Return value
RECORD ARRAYRecord array describing all files in the archive. Contains:
dataContents of this file : blob
modtimeTime of last modification: datetime (timezones can't be determined for ZIP files)
nameFilename : string
pathPath to the file (not including last slash) : string
Description
Unpacks an archive of the formats @italic .tar.gz or @italic .zip.