ftp_mirror
Synchronize directories between an FTP server and local machine in one direction, deleting extra files to match the source.
Instructions
Mirror a remote directory to local or vice versa (one-way sync with delete)
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": {
"connection": "<connection>",
"localPath": "<localPath>",
"remotePath": "<remotePath>",
"direction": "<direction>"
},
"name": "ftp_mirror"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dryRun | No | Only show what would change (default: false) | |
| direction | Yes | Mirror direction | |
| localPath | Yes | Local directory path | |
| connection | Yes | Connection name | |
| remotePath | Yes | Remote directory path |