ZipFile.Close
-------------

Closes the zip archive.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [Compression](component_Compression.md) | [3.4](newinversion34.md) | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |

MBS( "ZipFile.Close" { ; Comment } ) 

**MBS**( **"ZipFile.Close";** /\* Closes the zip archive. \*/  
**$Comment**) /\* Optional; The comment to include in the form \*/ 

### Parameters

| Parameter | Description | Example | Flags |
|---|---|---|---|
| Comment | The comment to include in the form |  | Optional |

### Result

Returns OK or error.

### Description

Closes the zip archive.  
### Examples

Close the archive with comment:

 MBS ( "ZipFile.Close"; "Archive created using MBS Plugin" )  
### See also

- [UnZipFile.Close](UnZipFileClose.md)
- [UnZipFile.ExtractFiles](UnZipFileExtractFiles.md)

### Example Databases

- [Archives/ZipFile](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/Archives/ZipFile.shtml#1ScriptAnchor_)

### FileMaker Magazin

- [Ausgabe 5/2013, Seite 22](https://filemaker-magazin.de/neuigkeit/3701-Appetithappen-FMM_201305)

This function checks for a license.

Created 18th August 2014 , last changed 5th July 2015

  
[ZipFile.CRCFile](ZipFileCRCFile.md) - [ZipFile.CompressFiles](ZipFileCompressFiles.md)

[HTML Version](ZipFileClose.shtml)