ssh_sftp_write_file
Writes content to a remote file via SFTP, creating the file if it does not exist.
Instructions
Write content to a file on the remote server using SFTP. Creates the file if it does not exist.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| connectionId | Yes | The session ID returned by ssh_connect | |
| path | Yes | Remote path of the file to write | |
| content | Yes | Content to write | |
| encoding | No | Encoding of the content (e.g. 'utf8', 'base64' for binary data). Default is 'utf8'. |