Skip to content

SSH.SSHStream.Position

Andrew Lambert edited this page Jan 14, 2022 · 2 revisions

SSH.SSHStream.Position

Method Signatures

 Function Position() As UInt64
 Sub Position(Assigns NewPosition As UInt64)

Parameters

Name Type Comment
Position UInt64 The new offset, in bytes, from the beginning of the remote file.

Return value

The current offset, in bytes, from the beginning of the remote file.

Remarks

Gets and sets the current read/write position in the remote file.

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

Clone this wiki locally