Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5   8.0   8.1    Statistic  


Reads an archived container.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
Container 4.4 Yes Yes Yes Yes Yes

MBS( "Container.ReadArchive"; Path )


Parameter Description Example value
Path Native path to the archive file to use. "C:\Benutzer\Christian\Desktop\test.txt"


Returns OK or error.


Reads an archived container.
Please use Container.WriteArchive to create the archive. The zip file must have a special format to be read successful, so probably only archives created by Container.WriteArchive will work.
This works for any content of a container, except for referenced container files.

This function requires a native path. Use Path.FileMakerPathToNativePath to convert a FileMaker path to a native path if required. If you like to have the user choose the path, you can use FileDialog functions.
For Server be aware that server has limited permissions and may not be able to access all files on a computer.


Reads an archive:

MBS("Container.ReadArchive"; "C:\Benutzer\Christian\Desktop\test.txt")

Writes an archive:

MBS("Container.WriteArchive"; MyTable::MyContainer; "C:\Benutzer\Christian\Desktop\test.txt")

See also

Example Databases

Container.IsCompressed   -   Container.ReadFile

Feedback: Report problem or ask question.

MBS Xojo Chart Plugins