download_file
Retrieve remote logs, reports, or backups to your local machine via SF. Specify the server connection and remote path to download the file securely.
Instructions
Download a remote file to a local path (on the machine running this MCP server) via SFTP.
When to use: Fetch logs, reports, or backups from the remote. When NOT to use: Avoid very large downloads (>100MB) unless you verified size first.
Example: download_file(connection_id="srv1", remote_path="/var/log/syslog", local_path="./logs/")
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| local_path | No | Local destination path. Defaults to ~/.config/remoteshell/downloads/<connection_id>/ | |
| remote_path | Yes | Path to the remote file to download | |
| connection_id | Yes | Unique identifier of the server connection |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||