ZipApi_ExtractFileAsBank

Description

Function ZipApi_ExtractFileAsBank$(
zipHandle%,
fileName$,
password$
)

Extracts a file from a zip and returns it as a Blitz bank.

Parameters

zipHandle

Handle to a ZIP resource opened with ZipApi_Open.

fileName

The name of the file within the ZIP to extract.

password

Optional password if extracting a password protected file.

Return Values

A bank handle containing the uncompressed data, or an error code if there was a problem.