SSH.SFTPStream.Read - charonn0/RB-libssh2 GitHub Wiki

SSH.SFTPStream.Read

Method Signature

 Function Read(Count As Integer, encoding As TextEncoding = Nil) As String

Parameters

Name Type Comment
Count Integer The number of bytes to read.
Encoding TextEncoding The TextEncoding of the data being read.

Return value

Returns a String containing the data that was read.

Remarks

Reads bytes from a SFTPStream if there is data available.

See also