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  


Lists content of archive as JSON.

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


Parameter Description Example Flags
Archive Either container with archive or native file path. "C:\test\"
Passphrase Password to use. Optional


Returns JSON or error.


Lists content of archive as JSON.
JSON has an entry count for the file count, an entry format for the format type and an entry for files array.


Check archive content:

Set Variable [ $list ; Value: MBS("Archive.Content"; If(IsEmpty($Path); $Container; $Path)) ]
If [ MBS("IsError") ]
    Show Custom Dialog [ "Failed to read container" ; $list ]
    Set Field [ $Content ; MBS("JSON.Colorize"; $list) ]
End If

Get content of encrypted archive:

MBS( "Archive.Content";
"/Users/cs/Desktop/"; /* path to archive (or container) */
"98234kjh245234" /* password */)

See also

Release notes

Blog Entries

Created 8th December 2018, last changed 12nd February 2019

Archive.CompressContainer - Archive.Extract

Feedback: Report problem or ask question.

MBS FileMaker Plugins

Start Chat