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:
9.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
Archive.Extract
Extracts files in an archive.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| Archive | 9.0 | Yes | Yes | Yes | Yes | Yes |
Parameters
| Parameter | Description | Example | Flags |
|---|---|---|---|
| Archive | Either container with archive or native file path. | "C:\test\test.zip" | |
| FileList | Optional list of files to extract. Pass empty text when you need all files. |
"" | |
| DestinationFolder | The native path to the destination folder. | "/Users/cs/Desktop" | |
| Passphrase | Password to use. | Optional |
Result
Returns OK or error.
Description
Extracts files in an archive.Restores file permissions, times, Mac metadata and file flags.
Examples
Expand an archive:
MBS( "Archive.Extract";
"/Users/cs/Desktop/invoices-2019-02-12_1924.zip"; /* path to archive (or container) */
"" /* all files */;
"/Users/cs/Desktop/"; /* dest */
"98234kjh245234" /* password */)
See also
Blog Entries
FileMaker Magazin
Release notes
- Version 10.4
- Added Archive.ExtractFile function.
Created 11st December 2018, last changed 12nd February 2019
Archive.Content - Archive.ExtractFile
Feedback: Report problem or ask question.
Links
MBS FileMaker blog