The MsgPlus::ExtractFromZIP function extracts files from a ZIP archive. Encrypted ZIP files are supported and file patterns can be used to specify what to extract.
[boolean] ExtractFromZIP( [string] ZipFile, [string] DestDirectory, [string] FileNames, [string,optional] Password );
A boolean value specifying if the operation succeeded. The function returns true if at least one file was extracted. Here is a list of possible reasons why this function may return false:
To extract all the files from an archive, specify "*.*" for the FileNames parameter. If needed, more than one file name can be specified in this parameter, each one separated by a space character. To specify a file name that contains a space itself, enclose the file name in double quotes. Examples:
Because the call is made synchronously, you should avoid using this function on ZIP archive files that are relatively large (bigger than 20MB). Doing so may give the impression to the user that Messenger froze and Messenger may be disconnected from the server.
Object | MsgPlus |
---|---|
Availability | Messenger Plus! Live 4.60 |