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: 7.4   7.5   8.0   8.1   8.2   8.3   8.4   8.5   9.0   9.1    Statistic  


Sets the compression level.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
Compression 3.4 Yes Yes Yes No Yes
MBS( "ZipFile.SetCompressionLevel"; Method; Level )   More


Parameter Description Example value
Method The compression method to use. Can be 0 for no compression and 1 for deflate compression. 1
Level The compression level from 0 (fastest) to 9 (maximum). 9


Returns OK or error message.


Sets the compression level.
By default the plugin uses maximum compression level.


Set default settings:

MBS( "ZipFile.SetCompressionLevel"; 1; 9 )

See also

Blog Entries

Created 18th August 2014, last changed 17th January 2018

ZipFile.Open   -   ZipFile.UsePassword

Feedback: Report problem or ask question.

MBS FileMaker tutorial videos