ftp_copy
Copy a file directly on the remote server using SFTP, avoiding download and re-upload.
Instructions
Directly duplicate a file on the remote server without downloading and re-uploading. CRITICAL: Only supported on SFTP connections.
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": {
"sourcePath": "<sourcePath>",
"destPath": "<destPath>"
},
"name": "ftp_copy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| destPath | Yes | Target remote destination path. | |
| sourcePath | Yes | Qualified remote source path. |