Download To Local File
download-to-localStreams a remote FTP file directly to a permitted local path without returning its contents, enabling files to be saved on this computer.
Instructions
Download a file from the FTP server straight to a path on this computer, streamed, without returning its contents. Only paths inside the directories listed in FTP_LOCAL_ROOTS can be written.
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>",
"localPath": "<localPath>"
},
"name": "download-to-local"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| localPath | Yes | Destination path on this computer (inside an FTP_LOCAL_ROOTS directory; the folder must exist) | |
| overwrite | No | Replace an existing local file (default: false) | |
| remotePath | Yes | Path of the file on the FTP server |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bytes | Yes | ||
| sha256 | Yes | ||
| localPath | Yes | ||
| remotePath | Yes |