Pterodactyl (Deprecated) icon

Pterodactyl (Deprecated)

⚠️ DEPRECATED: Use "Pterodactyl Client" for user-level operations or "Pterodactyl Application" for admin operations instead. This node will be removed in a future version.

File → List

AI-generated

Summary

List files in a specified directory on a Pterodactyl server using either user-level or admin-level API authentication.

Inputs

  • Authentication — Select the type of API authentication to use: 'Client API' for user-level access or 'Application API' for admin-level access.
  • Server Identifier (required) — Specify the alphanumeric server identifier from your Pterodactyl Panel (e.g., abc12def); this is found in the server's URL.
  • Directory Path — Set the directory path to list files from on the server; defaults to the root directory '/'.

Output shape

a list of file objects representing the contents of the specified directory on the server

The output is an array of JSON objects, each representing a file or folder found in the specified directory. If multiple input items are processed, results are aggregated into a single output array. Errors for individual items can appear in the output when 'Continue On Fail' is enabled.

Examples

Example 1: List root directory files using Client API authentication

Authentication set to 'Client API'; Server Identifier provided; Directory Path left as default '/'.

Discussion