Write a remote file (SFTP)
write_remote_fileWrite UTF-8 text content to a remote file via SFTP, enabling staging of configuration files for subsequent movement into place.
Instructions
Write a UTF-8 text payload to a remote file via SFTP. Useful for staging config files (e.g. into /tmp) which a subsequent exec can move into place with sudo mv / tee.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | ||
| content | Yes | ||
| remotePath | Yes | ||
| mkdirParents | No | ||
| connectionName | Yes |