Back to FTP / SFTP
Connect Knoon AI with FTP / SFTP to automate AI workflows.
Create or overwrite a text file on the connected FTP or SFTP server.
ftpDefaultUploadTextFile
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 | Text content to upload. | Yes |
| encoding | string | Text encoding for the content. Defaults to utf8. | No |
| createDirectories | boolean | If true, create missing parent directories before upload. | No |
Returns
| Name | Type | Description |
|---|---|---|
| status | string | UPLOADED when the file is written successfully. |
| remotePath | string | Resolved remote destination path. |
| sensitive.fileName | string | Uploaded file name. |
| sensitive.size | string | Uploaded size in bytes. |