ftp_find
Search remote FTP/SFTP servers recursively for files matching a glob pattern, with options to filter by path, type, maximum depth, and result limits.
Instructions
Search for files by name pattern (glob) recursively on the remote server
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>",
"pattern": "<pattern>"
},
"name": "ftp_find"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Starting directory (defaults to cwd) | |
| type | No | Filter by type (default: all) | |
| pattern | Yes | Glob pattern to match file names (e.g., '*.txt', 'data_*') | |
| maxDepth | No | Maximum search depth (default: 10) | |
| connection | Yes | Connection name | |
| maxResults | No | Maximum number of results (default: 100) |