sftp-upload-file
Upload local binary or large files to a remote host over SFTP, streaming content directly without loading it into model context. Requires the file to be inside the configured transferRoot directory.
Instructions
Upload a local file to the remote host over SFTP, streaming it without passing the contents through model context. The local file must be inside the transferRoot directory the operator configured; without that setting this tool refuses. Use this for binary or large files; use sftp-upload for short text you already have.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Remote file mode, 1 to 511 (0o777); setuid, setgid and the sticky bit are refused. e.g. 420 for 0644. Omit for 0600 on a new file, or the replaced file’s permission bits. | |
| profile | No | Profile name | |
| localPath | Yes | Local file to upload, inside defaults.transferRoot | |
| overwrite | No | Replace an existing remote file (default false) | |
| remotePath | Yes | Remote destination path |