UnzipFindItem

Sets the current item by its name, and returns information about it.

Synopsis

error = UnzipFindItem(ZipHandle, VariableName, Filename, Case)

Args

ZipHandle is the handle returned by UnzipOpen.

VariableName is the name of some stem variable where you would like information about the item stored. If you're passing the variable name directly, remember to quote it.

The information returned is the same as UnzipSetCurrentItem.

Filename is the name of the item to find.

Case is 1 if the name is case-sensitive, or 0 if not. If omitted, it defaults to 0.

Returns

An empty string if the item is successfully set, or an error message if not. (If ZipErr is set to "NUM", then 0 is returned for success, or an error number).

Notes

If Filename is omitted, then UnzipFindItem returns how many items are in the ZIP archive.