Excerpt | ||||
---|---|---|---|---|
| returns a list of filenames in the zip file.||||
zipListFiles(zipFile) Gets a list of filenames from an archive file |
Function: zipListFiles()
Returns a list of filenames for this given archive files.
As well as zip files other common archive files are supported include tar and 7z.
Typically the archive file will have been fetch via an http action and the contents will be the body that was returned.
Syntax
zipListFiles(zipFile)
Argument | Type | Description |
---|---|---|
zipFile | String | The contents of the archive file |
Examples
zipListFiles(in.body)
where in.body is the archive body. Returns a list of filenames (Manifest.xml,PackageHeader.xml,Released products V2.xm)