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

SSH.SCPStream.Length

Property declaration

 Dim Length As UInt64

Remarks

Returns the length of the file being transferred. This value is set in the Constructor and cannot be changed thereafter. When uploading, this value is provided by you; when downloading, this value is provided by the server.

Reading beyond the Length will return an empty string; writing beyond the Length will raise an exception.

See also