Skip to main content

revZipExtractItemToFile

Type

command

Summary

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

Syntax

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

Description

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 revZipOpenArchivecommand.

Parameters

NameTypeDescription

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 the revZipExtractItemToFile command encounters an error then the result will be set to an error code beginning with "ziperr", otherwise the result will be empty.

Examples

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

command: revZipExtractItemToVariable, revZipOpenArchive

Compatibility and Support

Introduced

LiveCode 2.7.3

OS

mac

windows

linux

ios

android

Platforms

desktop

server

mobile

Thank you for your feedback!

Was this page helpful?