ssh_download_file
Download files from a remote server to your local machine using SFTP. Provide the session ID and file paths to transfer files securely.
Instructions
Download a file from the remote host to the local machine via SFTP.
Args: session_id: The session ID returned by ssh_connect. remote_path: Path to the file on the remote host. local_path: Destination path on the local machine.
Returns: Confirmation message with file size.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | ||
| remote_path | Yes | ||
| local_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |