sftp_download
Download a remote file or directory to your local machine via SFTP; it detects whether the target is a file or directory and recursively retrieves entire directory contents.
Instructions
Download a remote file or directory to the local machine via SFTP. Automatically detects file vs directory. For directories, recursively downloads all contents.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| localPath | Yes | Absolute path on the local machine | |
| remotePath | Yes | Absolute path on the remote host | |
| connectionId | Yes | The connection ID |