Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old


Lists file paths in the archive.

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


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


Returns list or error.


Lists file paths in the archive.
Please use Archive.Content if you need more details.
This provides file list, which you can filter and then pass to Archive.Extract.


Get file list:

Set Variable [ $list ; Value: MBS("Archive.FileList"; 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

See also

Release notes

  • Version 11.5
    • Fixed an issue with Archive.FileList function not picking up file names on Windows due to text encoding issue.
  • Version 10.0

Blog Entries

This function checks for a license.

Created 8th December 2018, last changed 3th April 2021

Archive.ExtractFile - Archive.GZipDecompress