Back to FTP / SFTP
Connect Knoon AI with FTP / SFTP to automate AI workflows.
Download a remote file from FTP or SFTP and save it as an attachment. Max supported file size is 20MB.
ftpDefaultDownloadFileToAttachment
BETA
Internal
Permissions
There are no items to display.
Optional permissions
There are no items to display.
Parameters
| Name | Type | Description | Required |
|---|---|---|---|
| remotePath | mustache | Remote file path to download. | Yes |
| fileName | mustache | Optional override attachment file name. | No |
Returns
| Name | Type | Description |
|---|---|---|
| status | string | DONE when the file is downloaded successfully. |
| content | string | Attachment. |
| sensitive.fileName | string | Attachment file name. |
| sensitive.mimeType | string | Attachment MIME type. |
| sensitive.size | string | Attachment size in bytes when available. |