Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
UnZipFile.UsePassword
Sets the password to use for uncompressing.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Compression | 5.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
MBS( "UnZipFile.UsePassword"; Password { ; Encoding } ) More
Parameters
Parameter | Description | Example | Flags |
---|---|---|---|
Password | The password text. | "pass123" | |
Encoding | The text encoding for password parameter. Default is native. Possible encoding names: ANSI, ISO-8859-1, Latin1, Mac, Native, UTF-8, DOS, Hex, Base64 or Windows. More listed in the FAQ. |
"native" | Optional |
Result
Returns OK or error.
Description
Sets the password to use for uncompressing.The password is needed to open encrypted files in archive.
Each item in archive could have its own password, but normally all have the same.
See also
- UnZipFile.ReadAsFileContainer
- UnZipFile.ReadAsGIFContainer
- UnZipFile.ReadAsHex
- UnZipFile.ReadAsJPEGContainer
- UnZipFile.ReadAsPNGContainer
- UnZipFile.ReadAsText
- UnZipFile.ReadToFile
- ZipFile.UsePassword
Example Databases
Blog Entries
This function checks for a license.
Created 26th February 2015, last changed 12nd November 2015