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.0   10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2   11.3    Statistic    FMM    Blog  

Archive.Extract

Extracts files in an archive.

Component Version macOS Windows Linux Server iOS SDK
Archive 9.0 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "Archive.Extract"; Archive; FileList; DestinationFolder { ; Passphrase } )   More

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

Release notes

Blog Entries

FileMaker Magazin

Created 11st December 2018, last changed 12nd February 2019


Archive.Content - Archive.ExtractFile

Feedback: Report problem or ask question.




Links
MBS Xojo Chart Plugins

Start Chat