Upload File
upload-fileTransfer a file to an FTP server by specifying the destination path and content; set encoding to base64 for binary uploads.
Instructions
Upload a file to the FTP server. Pass encoding "base64" to upload binary content.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"remotePath": "<remotePath>",
"content": "<content>"
},
"name": "upload-file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | Content to upload to the file | |
| encoding | No | Encoding of the provided content (default: utf8) | |
| remotePath | Yes | Destination path on the FTP server |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| remotePath | Yes | ||
| bytesWritten | Yes |