Actions29
- Server Actions
- File Actions
- Database Actions
- Backup Actions
- Account Actions
File → Compress
AI-generatedSummary
Compress specified files and directories into a single archive within a server managed by Pterodactyl Panel.
Inputs
- Authentication — Selects the type of API authentication to use: Client API for user-level access or Application API for admin-level access.
- Server Identifier (required) — The alphanumeric identifier of the server from your Pterodactyl Panel URL (e.g., abc12def).
- Root Directory (required) — The parent directory path containing the files to compress (default is '/').
- Files (required) — Comma-separated list of file and directory names within the root directory to include in the compressed archive.
Output shape
A single JSON object per execution containing the API response about the compression operation, including success or failure details.
The operation returns the API response for compressing files; the exact returned JSON structure depends on the Pterodactyl API. Errors are returned as messages if the operation fails and 'Continue On Fail' is enabled.