Livecode Wiki
Advertisement

Extracts an item from a zip archive and places the item in a file.Syntax:

revZipExtractItemToFile <archivePath>, <itemName>, <fileName>

Examples:

revZipExtractItemToFile tArchive, "myZippedItem", "myFolder/myFile.txt"

Use the revZipExtractItemToFile command to place an item in zip archive into a file on disk. The archive must first have been opened using the revZipOpenArchive (command)command.

Parameters:

  • archivePath: The absolute path to the archive to extract from.
  • itemName: The name of the item to extract.
  • fileName: The absolute path to the file to place the extracted data in. If therevZipExtractItemToFile command encounters an error then the result willbe set to an error code beginning with "ziperr", otherwise the resultwill be empty.

See also: revZipOpenArchive (command),

Advertisement