Actions16
- File Actions
- Transfer Actions
- Account Actions
File → List
AI-generatedSummary
List files and folders in a specified directory on Axway SecureTransport, optionally limiting, offsetting, sorting, ordering, and including hidden files in the results.
Inputs
- Directory Path (required) — Path of the directory to list. Use "/" to specify the home directory.
- Limit — Maximum number of results to return (1 to 1000). Defaults to 100.
- Offset — Number of results to skip before starting to collect the response list.
- Sort By — Attribute to sort the results by: file name, last modified time, or size. Defaults to file name.
- Order — Sort order of the results, either ascending or descending. Defaults to ascending.
- Show Hidden Files — Whether to include hidden files (file names starting with a dot) in the results. Defaults to false.
Output shape
a JSON array of file and folder objects with metadata as returned by the Axway SecureTransport API
The response includes paginated file/folder entries from the target directory. Pagination is controlled by 'limit' and 'offset' inputs. Hidden files are included only if explicitly requested. The operation makes an authenticated GET request to the endpoint corresponding to the specified directory path.
Examples
Example 1: List files in the home directory with default options
Set Directory Path to '/' with no additional options.
Example 2: List the first 50 files in '/inbox' directory sorted by last modified time descending
Set Directory Path to '/inbox', Limit to 50, Sort By to 'Last Modified', and Order to 'Descending'.