返回 FTP / SFTP
将 Knoon AI 与 FTP / SFTP 连接以自动化 AI 工作流。
Create or overwrite a text file on the connected FTP or SFTP server.
ftpDefaultUploadTextFile
测试版
内部
权限
没有可显示的项目。
可选权限
没有可显示的项目。
参数
| 名称 | 类型 | 描述 | 必填 |
|---|---|---|---|
| remotePath | mustache | Remote destination file path including file name. | 是的 |
| content | mustache | Text content to upload. | 是的 |
| encoding | string | Text encoding for the content. Defaults to utf8. | 没有 |
| createDirectories | boolean | If true, create missing parent directories before upload. | 没有 |
回报
| 名称 | 类型 | 描述 |
|---|---|---|
| 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. |