UnZipFile.OpenContainer
-----------------------

Opens a zip archive stored in a container.

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

### Deprecated

This function was [deprecated](deprecated.md). Use [Archive.Extract](ArchiveExtract.md) instead.

MBS( "UnZipFile.OpenContainer"; Container ) 

**MBS**( **"UnZipFile.OpenContainer";** /\* Opens a zip archive stored in a container. \*/  
**$Container**) /\* The container value with the zip archive file inside.e.g. $path \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| Container | The container value with the zip archive file inside. | $path |

### Result

Returns OK on success.

### Description

Opens a zip archive stored in a container.  
The plugin reads the directory so you can use [UnZipFile.ItemCount](UnZipFileItemCount.md) function to learn the number of items.  
  
Deprecated due to missing unicode support. Please use [Archive.Extract](ArchiveExtract.md) for new projects.  
### See also

- [Archive.Extract](ArchiveExtract.md)
- [UnZipFile.ExtractFiles](UnZipFileExtractFiles.md)
- [UnZipFile.ItemCount](UnZipFileItemCount.md)
- [WordFile.OpenContainer](WordFileOpenContainer.md)

### Release notes

- **Version 14.4**
    - Improved [Archive](https://www.mbsplugins.eu/component_Archive.shtml) functions and [UnZipFile.OpenContainer](https://www.mbsplugins.eu/UnZipFileOpenContainer.shtml) function to better read zip archives downloaded via Insert From URL script step.

### Blog Entries

- [MBS FileMaker Plugin, version 14.4pr3](https://www.mbsplugins.de/archive/2024-08-21/MBS_FileMaker_Plugin_version_1/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin, version 5.4pr5](https://www.mbsplugins.de/archive/2015-11-10/MBS_FileMaker_Plugin_version_5/monkeybreadsoftware_blog_filemaker)

### FileMaker Magazin

- [Ausgabe 6/2013, Seite 31 bis 32](https://filemaker-magazin.de/neuigkeit/3712-Appetithappen-FMM_201306)

This function checks for a license.

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

  
[UnZipFile.ItemVersionNeeded](UnZipFileItemVersionNeeded.md) - [UnZipFile.OpenFile](UnZipFileOpenFile.md)

[HTML Version](UnZipFileOpenContainer.shtml)