sftp_upload
Upload local files or directories to a remote host via SFTP, automatically handling files and recursively uploading directory contents.
Instructions
Upload a local file or directory to a connected remote host via SFTP. Automatically detects file vs directory. For directories, recursively uploads all contents.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| localPath | Yes | Absolute path to the local file or directory | |
| remotePath | Yes | Absolute path on the remote host | |
| connectionId | Yes | The connection ID |