Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

SSH.EOF

Check a channel's EOF status.

Component Version macOS Windows Linux Server iOS SDK
SSH 6.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "SSH.EOF"; SSH )   More

Parameters

Parameter Description Example
SSH The SSH session reference number from the plugin. $ssh

Result

Returns state or error.

Description

Check a channel's EOF status.
Check if the remote host has sent an EOF status for the selected stream.
Returns 1 if the remote host has sent EOF, otherwise 0.

Also check for other functions like read/write to see if they return an error, e.g. query MBS("IsError").

See also

This function checks for a license.

Created 29th May 2016, last changed 16th August 2021


SSH.Disconnect - SSH.Execute