UnpackArchive (open)

Unpacks an archive

Syntax

LOADLIB "wh::filetypes/archiving.whlib";

RECORD ARRAY FUNCTION UnpackArchive(BLOB data)

Parameters

BLOB data

Blob with the archive

Return value

RECORD ARRAY

Record array describing all files in the archive. Contains:

data

Contents of this file : blob

modtime

Time of last modification: datetime (timezones can't be determined for ZIP files)

name

Filename : string

path

Path to the file (not including last slash) : string

Description

Unpacks an archive of the formats @italic .tar.gz or @italic .zip.