UNZIP

Extracts files from a ZIP archive.

Syntax 

UNZIP(zip_data, [password])

Usage examples 

Example 1

Formula

UNZIP(BASE64_DECODE(input.zip_data), 'optional_password')

Output

1
[
2
{
3
"filename": "test_filename",
4
"content_type": "application/octet-stream",
5
"guid": "2634c668-7066-47e5-ad01-ed77781d5daf",
6
"md5": "ccc55aefbf92aa66f42b638802c5e7f6",
7
"sha256": "623447b85d372251f3ffce2602e142b25ba40ee641821beabe6e14530d1cdd49",
8
"sizeinbytes": 13,
9
"base64encodedcontents": "dGVzdF9jb250ZW50cw==",
10
"path": "test_filename"
11
}
12
]
Was this helpful?