Folder
OptionalTextThe folder's path. Empty or ~ is the home folder.
~/Documents
The files and folders inside a folder on the server.
First, connect SSH in Services. Then open Actions → + → SSH and choose List Folder.
Folders come first, then files, each by name. Empty lists the home folder.
Open an input to choose its value. Keep a fixed value with Text, receive it from Shortcuts, ask when the action runs, or use an Earlier Step. Read how input sources work.
The folder's path. Empty or ~ is the home folder.
~/Documents
In the action editor, open Output → Returned Value to choose fields for your shortcut. These are the response fields described by the app; a service may omit an optional field or return an empty list. JSON File contains the full response.
| Returned field | Type | Meaning |
|---|---|---|
path | string | The folder's full path. |
items | array | A list of values. |
items[].name | string | The file or folder's name. |
items[].path | string | Its full path, ready for Download File or another List Folder. |
items[].isFolder | boolean | True for a folder. |
items[].size | integer | In bytes. |
items[].modified | string | When it last changed, in ISO 8601. |
If the result is unexpected, open Logs in Shortcutify, select the run, and inspect this step’s inputs and response.
On the computer: sftp ls, over a signed-in SSH session. No web request is made.
Action identifier: ssh.folder.list.v1
No additional per-action permissions are declared in the app’s catalog. The integration’s connection and account access rules still apply.
| Input | Key |
|---|---|
| Folder | path |