SSH.SCPStream.Write - charonn0/RB-libssh2 GitHub Wiki

SSH.SCPStream.Write

Method Signatures

 Sub Write(text As String, StreamID As Integer)
 Sub Write(text As String)

Parameters

Name Type Comment
Text String The data to write to the Channel.
StreamID Integer Optional/Ignored. Exists because the overridden superclass method has it.

Remarks

Write (upload) to the stream. If writing the Text would cause the Position to exceed the Length then an exception will be raised.