Pterodactyl Client icon

Pterodactyl Client

User-level server management with Pterodactyl Panel Client API

File → Write

AI-generated

Summary

Write string content to a specified file path on a selected Pterodactyl server.

Inputs

  • Server (required) — Select the target server by its identifier from your accessible Pterodactyl client servers.
  • File Path (required) — Specify the absolute path of the file on the server where the content will be written, e.g., /config.yml.
  • Content (required) — Provide the string content to write into the file at the specified path.

Output shape

a single JSON object representing the API response confirming the file write operation or detailing any errors.

The output JSON structure depends on the Pterodactyl API response for the file write operation. Errors in writing will surface as exceptions unless 'Continue On Fail' is enabled, in which case error messages are returned per item.

Discussion