Skip to content
background-image background-image

Zip Extractor

[ | version 3.1]

Connector

The connector is permitted for use of the platform background agent.

Connector processing type: Both (Row by row & Bulk), Default type: Row by row!

This connector allows to extract files from ZIP archives from input by use of standard .NET library.

Input Example

Input has following properties:

  • Data - base64 data of file

Following input data

[
    {
        "Data": "UEsDBBQAAAAIAEZ2J1X+RElXFgAAABYAAAAYAAAAZm9sZGVyMS9mb2xkZXIyXHRlc3QudHh0q+ZSAAKl4NLk5NTiYiWrkqLSVK5aAFBLAwQUAAAACABGdidV/kRJVxYAAAAWAAAACAAAAHJvb3QudHh0q+ZSAAKl4NLk5NTiYiWrkqLSVK5aAFBLAQIUABQAAAAIAEZ2J1X+RElXFgAAABYAAAAYAAAAAAAAAAAAAAAAAAAAAABmb2xkZXIxL2ZvbGRlcjJcdGVzdC50eHRQSwECFAAUAAAACABGdidV/kRJVxYAAAAWAAAACAAAAAAAAAAAAAAAAABMAAAAcm9vdC50eHRQSwUGAAAAAAIAAgB8AAAAiAAAAAAA"
    },
    {
        "Data": "UEsDBBQAAAAIALJ2J1X+RElXFgAAABYAAAAZAAAAZm9sZGVyMi9mb2xkZXIzXHRlc3QyLnR4dKvmUgACpeDS5OTU4mIlq5Ki0lSuWgBQSwMEFAAAAAgAsnYnVYp9ks4xAAAAPAAAAAkAAAByb290Mi50eHSr5lIAAqXg0uTk1OJiJauSotJUHZCYkktqcXJRZkFJZn6ekpWCUnF+bqpCCpIYVy0AUEsBAhQAFAAAAAgAsnYnVf5ESVcWAAAAFgAAABkAAAAAAAAAAAAAAAAAAAAAAGZvbGRlcjIvZm9sZGVyM1x0ZXN0Mi50eHRQSwECFAAUAAAACACydidVin2SzjEAAAA8AAAACQAAAAAAAAAAAAAAAABNAAAAcm9vdDIudHh0UEsFBgAAAAACAAIAfgAAAKUAAAAAAA=="        
    }
]

will be extracted to output files

[
    {
        "Directory": "folder1/folder2",
        "FileName": "test.txt",
        "Data": "ewogICAgIlN1Y2Nlc3MiOnRydWUKfQ=="
    },
    {
        "Directory": null,
        "FileName": "root.txt",
        "Data": "ewogICAgIlN1Y2Nlc3MiOnRydWUKfQ=="
    },
    {
        "Directory": "folder2/folder3",
        "FileName": "test2.txt",
        "Data": "ewogICAgIlN1Y2Nlc3MiOnRydWUKfQ=="
    },
    {
        "Directory": null,
        "FileName": "root2.txt",
        "Data": "ewogICAgIlN1Y2Nlc3MiOnRydWUsCiAgICJEZXNjcmlwdGlvbiI6ICJzb21lIGRlc2NyaXB0aW9uIgp9"
    }
]

Input & Output Schema

Input

Input is Base64 encoded ZIP files content which will be extracted.

Data (ver. 1.0.0)

Column Data type Allow null Description
Data Base64 No Binary data encoded into Base64 string.

Output

Output is Zip File schema which contains extracted files.

Zip file (ver. 1.0.0)

Column Data type Allow null Description
Directory string true Directory structure where the file will be placed in ZIP file
FileName string false Name of the file with extension
Data Base64 false Base64 encoded content of file

Example output data

Directory: string FileName: string Data: Base64
null test.txt ewogICAgIlN1Y2Nlc3MiOnRydWUKfQ==

Release notes

3.1.0

  • Added new description and icon.

3.0.3

  • Fixed shared nuget package versions.

3.0.2

  • Fixed right processing of nullable properties.