Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 8.5   9.0   9.1   9.2   9.3   9.4   9.5   10.0   10.1   10.2    Statistic  


Creates a new zip archive.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
Compression 3.4 Yes Yes Yes No Yes
MBS( "ZipFile.Open"; Path { ; Mode } )   More


Parameter Description Example value
Path Native file path. $path
Mode Optional
The appending mode: 0 to create a new archive (default), 1 create on file end, 2 append to existing archive.


Returns OK or error.


Creates a new zip archive.

Deprecated. Please use Archive.Compress 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.


Create new archive:

MBS( "ZipFile.Open"; "c:\folder\"; 0 )

See also

Example Databases

FileMaker Magazin

  • Ausgabe 5/2013, Seite 21

Created 18th August 2014, last changed 7th October 2019

ZipFile.CreateFile   -   ZipFile.SetCompressionLevel

Feedback: Report problem or ask question.

MBS Xojo Chart Plugins