Upload Local File
upload-local-fileSend a local file to an FTP server by local and remote path, streaming the transfer so file size is not limited by the request. Only files inside allowed local root directories can be sent.
Instructions
Upload a file from this computer to the FTP server by path, streamed, so file size is not limited by the request. Only files inside the directories listed in FTP_LOCAL_ROOTS can be uploaded.
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": {
"localPath": "<localPath>",
"remotePath": "<remotePath>"
},
"name": "upload-local-file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| localPath | Yes | Path of the local file (inside an FTP_LOCAL_ROOTS directory) | |
| remotePath | Yes | Destination path on the FTP server |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sha256 | Yes | ||
| localPath | Yes | ||
| remotePath | Yes | ||
| remoteSize | Yes | ||
| bytesWritten | Yes |