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:
10.1
10.2
10.3
10.4
10.5
11.0
11.1
11.2
11.3
11.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 )
Created 18th August 2014, last changed 12nd June 2020
ZipFile.CreateFile - ZipFile.SetCompressionLevel
Feedback: Report problem or ask question.