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
Extracts all files from current archive into a folder.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Compression | 6.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
This function was deprecated. Use Archive.Extraxct instead.
Parameter | Description | Example | Flags |
---|---|---|---|
destFolder | The native path to the destination folder. Please make sure this folder exists. |
"/Users/cs/Desktop/test" | |
ExtractWithoutPath | If 1, all files are put in one folder and no subfolders are created. | 0 | Optional |
Overwrite | Pass 1 to allow files to be overwritten. Default is 0 to not overwrite. |
Optional |
Returns OK or error.
Opens archive and expands files:
Set Variable [$r; Value:MBS( "UnZipFile.OpenFile"; "/Users/cs/Desktop/test.zip" )]
If [$r = "OK"]
Set Variable [$r; Value:MBS( "UnZipFile.ExtractFiles"; "/Users/cs/Desktop/test"; 0 )]
Set Variable [$r; Value:MBS( "UnZipFile.Close" )]
End If
Expand files on Windows:
Set Variable [$r; Value:MBS( "UnZipFile.OpenFile"; "C:\Users\Christian\Desktop\DebugView.zip" )]
If [$r = "OK"]
Set Variable [$r; Value:MBS( "UnZipFile.ExtractFiles"; "C:\Users\Christian\Desktop\test"; 0 )]
Set Variable [$r; Value:MBS( "UnZipFile.Close" )]
End If
This function checks for a license.
Created 16th January 2016, last changed 7th February 2023