ftp_connect
Connect to an FTP server using host, username, and password. Establishes a session for file operations like upload, download, list, and delete.
Instructions
Connect to an FTP server. If not called, will attempt to use FTP_HOST, FTP_USER, FTP_PASSWORD environment variables.
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": {
"host": "<host>",
"user": "<user>",
"password": "<password>"
},
"name": "ftp_connect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | FTP server hostname or IP address | |
| port | No | FTP server port (default: 21) | |
| user | Yes | FTP username | |
| secure | No | Use FTPS (FTP over TLS) | |
| password | Yes | FTP password |