Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
SSH.WriteHex
Writes text to the channel.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
SSH | 6.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
MBS( "SSH.WriteHex"; SSH; Text { ; Stream } ) More
Parameters
Parameter | Description | Example | Flags |
---|---|---|---|
SSH | The SSH session reference number from the plugin. | $ssh | |
Text | The text to send in hex encoding. | "48656C6C6F" | |
Stream | Which stream to write. Can be stdout or stderr. Stdout is default if parameter is empty or missing. |
"StdOut" | Optional |
Result
Returns the number of bytes written or an error message.
Description
Writes text to the channel.You pass the text hex encoded. For example for "Hello" you pass "48656C6C6F".
See also
This function checks for a license.
Created 29th May 2016, last changed 1st June 2016