Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 9.0   9.1   9.2   9.3   9.4   9.5   10.0   10.1   10.2   10.3    Statistic  

Archive.Extract

Extracts files in an archive.

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

Parameters

Parameter Description Example value
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 Optional
Password to use.

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

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


Archive.Content   -   Archive.FileList

Feedback: Report problem or ask question.




Links
MBS FileMaker Plugins