Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
SSH.WriteText
Writes text to the channel.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
SSH | 6.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
MBS( "SSH.WriteText"; SSH; Text { ; Encoding; Stream } ) More
Parameters
Parameter | Description | Example | Flags |
---|---|---|---|
SSH | The SSH session reference number from the plugin. | $ssh | |
Text | The text to send. | "Hello World" | |
Encoding | The text encoding for text parameter. Default is UTF-8. Possible encoding names: ANSI, ISO-8859-1, Latin1, Mac, Native, UTF-8, DOS, Hex, Base64 or Windows. More listed in the FAQ. |
"UTF8" | Optional |
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.See also
This function checks for a license.
Created 29th May 2016, last changed 1st June 2016
