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.1   9.2   9.3   9.4   9.5   10.0   10.1   10.2   10.3   10.4    Statistic  

Archive.ExtractFile

Extracts one file and returns as container.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
Archive 10.4 Yes Yes Yes Yes Yes
MBS( "Archive.ExtractFile"; Archive; FilePath { ; Passphrase; New file name } )   More

Parameters

Parameter Description Example Flags
Archive Either container with archive or native file path. "C:\test\test.zip"
FilePath The path name of the file. "test/test.zip"
Passphrase Password to use for the archive. Optional
New file name The new file name to use for container.
Default is to use name of the item in the zip archive.
Optional

Result

Returns container or error.

Description

Extracts one file and returns as container.

Examples

Extract one PDF file:

Set Field [ Contacts::Photo Container ; MBS( "Archive.ExtractFile"; "/Users/cs/Desktop/Archiv.zip"; "test40.pdf") ]

See also

Blog Entries

Release notes

Created 7th September 2020, last changed 7th September 2020


Archive.Extract   -   Archive.FileList

Feedback: Report problem or ask question.




Links
MBS FileMaker blog