Back to FTP / SFTP
Connect Knoon AI with FTP / SFTP to automate AI workflows.
Upload an attachment file to the connected FTP or SFTP server.
ftpDefaultUploadAttachment
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 destination file path including file name. | Yes |
| content | mustache | Attachment URL to upload. | Yes |
| createDirectories | boolean | If true, create missing parent directories before upload. | No |
Returns
| Name | Type | Description |
|---|---|---|
| status | string | UPLOADED when the upload succeeds. |
| remotePath | string | Resolved remote destination path. |
| sensitive.fileName | string | Uploaded file name. |
| sensitive.mimeType | string | Uploaded file MIME type. |
| sensitive.size | string | Uploaded file size in bytes when available. |