Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


returns a list of filenames in the zip file.
Excerpt
hiddentrue

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)

ArgumentTypeDescription
zipFileStringThe 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)


See Also