Skip to content

SSH.SSHStream.Length

Andrew Lambert edited this page Nov 26, 2022 · 2 revisions

SSH.SSHStream.Length

Method Signatures

 Function Length() As UInt64
 Sub Length(Assigns NewLength As UInt64)

Parameters

Name Type Comment
NewLength UInt64 The new size, in bytes, of the remote file.

Return value

The current size, in bytes, of the remote file.

Remarks

Gets and sets the length of the remote file.

If the underlying SSH operation doesn't support this sort of thing (Channels, TCPTunnels, etc.) then setting a new length will raise an exception.

Clone this wiki locally