Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
12.1
12.2
12.3
12.4
12.5
13.0
13.1
13.2
13.3
13.4
Statistic
FMM
Blog
Creates a new zip archive.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Compression | 3.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
This function was deprecated. Use Archive.Compress instead.
Parameter | Description | Example | Flags |
---|---|---|---|
Path | Native file path. | $path | |
Mode | The appending mode: 0 to create a new archive (default), 1 create on file end, 2 append to existing archive. | 0 | Optional |
Returns OK or error.
Create new archive:
MBS( "ZipFile.Open"; "c:\folder\test.zip"; 0 )
This function checks for a license.
Created 18th August 2014, last changed 7th February 2023