返回 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. |