sftp_download
Downloads files from remote servers via SFTP. Provide the connection ID, remote path, and absolute local path to save the file.
Instructions
[SSH Operations] Download file from remote host via SFTP
Example usage:
{
"connectionId": "raspberry-pi",
"remotePath": "/home/pi/file.txt",
"localPath": "C:\\downloads\\file.txt"
}Security: Local path must be absolute. Creates parent directories if needed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| localPath | Yes | Absolute path where file will be saved locally | |
| remotePath | Yes | Absolute path to remote file to download | |
| connectionId | Yes | ID of the SSH connection to use |