Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 9.5   10.0   10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2    Statistic    FMM    Blog  

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

Created 29th May 2016, last changed 1st June 2016


SSH.WriteHex - Schedule.Check

Feedback: Report problem or ask question.