Folder To Zip — Reference
Create a ZIP archive from the contents of a server folder.
Create a ZIP archive from the contents of a server folder.
Before you begin
Section titled “Before you begin”- A server with the required ZIP libraries and a dedicated test folder/archive. Authorize access to the source and destination paths.
Folder To Zip
Section titled “Folder To Zip”Create a ZIP archive from the contents of a server folder.
Settings
Section titled “Settings”| Setting | Meaning |
|---|---|
| Name | Names the returned saved path, metadata or comment for later steps. Extraction returns a success result rather than a new archive. |
| Zip File | The complete application-relative server archive filename. For creation, prepare its writable parent directory first. |
| Folder | The server directory whose contents will be archived. |
| Comment | Optional archive-level comment text. |
| Recursive | Includes nested directories and their files when enabled. Default off. Verify the resulting archive structure. |
| Overwrite | For archive creation, allows replacing an existing ZIP; otherwise a unique name can be chosen. For UnZip, this exposed option is not honored as a protective gate in the installed implementations. |
| Output | Includes the named returned path, entry list, comment or extraction result in the action response. Default off; this does not download the archive itself. |
Worked example
Section titled “Worked example”Use a test folder containing a file and a nested subfolder. Create one archive with Recursive off and another with it on. Read their entry lists and confirm the expected nested files are included only in the recursive case.
Archive boundaries
Section titled “Archive boundaries”The chosen folder’s contents become the archive entries; this is not a backup of every external file referenced by your application. Inspect hidden-file and subfolder behavior on the deployed backend and avoid archiving an unrestricted project root.
Connect the file workflow
Section titled “Connect the file workflow”Use the actual returned archive path after creation. Use File Download when a browser should receive it, and keep any private files behind a protected server action.
Check your result
Section titled “Check your result”You can configure the archive operation and verify the intended entries, metadata or extracted files.