SSH.SSHStream.Position - charonn0/RB-libssh2 GitHub Wiki
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.