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


Opens a zip archive file.

Component Version macOS Windows Linux Server iOS SDK
Compression 3.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes


This function was deprecated. Use Archive.Extract instead.

MBS( "UnZipFile.OpenFile"; Path )   More


Parameter Description Example
Path Native file path. $path


Returns OK or error.


Opens a zip archive file.
The plugin reads the directory so you can use UnZipFile.ItemCount function to learn the number of items.

Deprecated due to missing unicode support. Please use Archive.Extract for new projects.

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.


Open archive on Windows:

MBS( "UnZipFile.OpenFile"; "c:\folder\" )

Open Archive and expand:

MBS( "UnZipFile.OpenFile"; "C:\Users\Christian\Desktop\")
MBS( "UnZipFile.ExtractFiles"; "C:\Users\Christian\Desktop\test")

See also

Example Databases

Blog Entries

This function checks for a license.

Created 18th August 2014, last changed 7th February 2023

UnZipFile.OpenContainer - UnZipFile.ReadAsFileContainer