Files from ZIP
What this tool does
This tool opens a ZIP archive and returns its files in a clean ZIP of their own. It removes folder traversal tricks, flattens unsafe names and refuses entries that would expand out of proportion, so you can safely look inside archives received from third parties.
When to use it
- Inspecting an archive before passing its contents to another tool.
- Extracting a ZIP received by email or uploaded by a customer.
- Cleaning up odd paths (
../, backslashes) created on Windows. - Splitting a batch of files that arrived packaged in one ZIP.
What to expect
You receive a link to a new ZIP with the extracted files, plus the number of entries, the total uncompressed size and how many entries were skipped.
Limitations
- Up to 200 entries and 200 MB uncompressed in total.
- Compressed archives cannot be extracted: recompress them as ZIP first.
- Entries that look like a decompression bomb (huge ratio) are skipped.
When it fails
- The URL does not point to a ZIP file.
- The archive is encrypted or corrupted.
- No entry could be extracted within the limits.
Good to know
- File names are sanitized; empty folders are not recreated.
- Duplicated names get a numeric suffix so nothing is overwritten.
Input data
| Parameter | Required | Example | Description |
|---|---|---|---|
url | Yes | https://public.downloads.uproc.io/samples/sample.zip | Public URL of the ZIP file to extract. |
Output data
| Field | Description |
|---|---|
result | Signed URL of the ZIP with the extracted files. |
entries | Number of files written to the output archive. |
skipped | Entries skipped (unsafe, oversized or bomb-like). |
total_size | Uncompressed size of the extracted files in bytes. |