ssh_download
Downloads a remote file from a named server to a local destination path over SFTP, overwriting any existing local file.
Instructions
Downloads one remote file from the named server to a local destination path over SFTP, overwriting any existing local file at that path. Affects only the local filesystem and is read-only on the remote side, so it stays allowed even on servers in readonly or restricted security mode. Reads the remote file using the configured SSH user, which must have permission to read it. Handles single files only; use ssh_sync for directories.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| server | Yes | Server name | |
| remotePath | Yes | Remote file path | |
| localPath | Yes | Local destination path |