Type identifier:
file:zip:extractCategory: File Operations
The File - ZIP Extract node extracts files from a ZIP archive, applying security validations to prevent malicious archives from causing harm. It supports file pattern filtering and size limits, returning the extracted files as an array that can be processed by other nodes.
Handle | Type | Description |
|---|---|---|
| control | Triggers the extraction process. |
|
| The ZIP archive to extract. |
Handle | Type | Description |
|---|---|---|
|
| Array of extracted files. |
| control | Triggered when extraction completes successfully. |
| control | Triggered when extraction fails. |
Option | Type | Default | Description |
|---|---|---|---|
File Pattern |
| - | Glob pattern to filter which files to extract (for example, |
Max File Size |
|
| Maximum size for any single extracted file in bytes. Maximum allowed: 1 GB. |
Validates the ZIP archive for security concerns:
Iterates through archive entries, applying:
success or error control flowCheck | Limit | Description |
|---|---|---|
Max files | 5000 | Maximum number of files in archive |
Max uncompressed size | 10 GB | Total uncompressed size limit |
Compression ratio | 100:1 | Detects potential zip bombs |
Processing time | 5 minutes | Maximum time to process the archive |
Path depth | 10 levels | Maximum directory nesting |
Filename length | 255 characters | Maximum individual filename length |
Entry names are sanitised to prevent attacks:
..) is blockedWhen a file pattern is specified, it uses glob matching:
*.pdf — Match all PDF filesimages/*.png — Match PNG files in images folder**/*.txt — Match text files in any subfolderConfiguration:
Use case: Extract all files from a user-uploaded archive for processing.
Configuration:
*.csvUse case: Extract only CSV files from a data archive for import.
Configuration:
documents/*Use case: Extract documents from a specific folder with a larger size limit.