Skip to main content

revZipDescribeItem

Type​

function

Summary​

Returns information about an item in a zip archive.

Syntax​

revZipDescribeItem(<archivePath>, <itemName>)

Description​

Use the revZipDescribeItem function to obtain detailed information about a given item in an open zip archive. The archive must first have been opened using the revZipOpenArchive command.

note

While the Zip library can read most archives, extracting files from archives is only supported for files compressed with the method deflate.

Parameters​

NameTypeDescription

archivePath

The absolute path to the archive containing the item to describe.

itemName

The name of the item to describe in the archive.

Examples​

put revZipDescribeItem(tArchive, "myZippedItem") into tDetails
put item 6 of revZipDescribeItem(tArchive, "myZippedItem") into tCompressionMethod

Value​

NameTypeDescription

return

This function returns a comma delimited list of details in the form: index, crc, size, mtime, compressed_size, compression_method.

command: revZipDeleteItem, 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?