Back to FTP / SFTP
Connect Knoon AI with FTP / SFTP to automate AI workflows.
List files and folders from the connected FTP or SFTP server.
ftpDefaultListDirectory
BETA
Internal
Permissions
There are no items to display.
Optional permissions
There are no items to display.
Parameters
| Name | Type | Description | Required |
|---|---|---|---|
| remotePath | mustache | Optional remote directory path to list. Defaults to the app root path or the server root. | No |
Returns
| Name | Type | Description |
|---|---|---|
| name | string | Entry name. |
| path | string | Resolved remote path for the entry. |
| type | string | Entry type: file, directory, or link. |
| size | string | Size in bytes when available. |
| modifiedAt | string | Last modified timestamp when available. |