Discuss this help topic in SecureBlackbox Forum

TElSftpStream.Seek

TElSftpStream     See also     


Filter: C#/Java  VB.NET  Pascal  C++  PHP  


Sets the current position of the stream.

Declaration

[C#/Java]
    long Seek(long Offset, SeekOrigin Origin);

[VB.NET]
    Function Seek(ByVal Offset As Long, ByVal Origin As SeekOrigin) As Long

[Pascal]
    function Seek(Offset : Longint; Origin : Word) : Longint;

[C++]
    int32_t Seek(int32_t Offset, uint16_t Origin);

[PHP]
    integer Seek(integer $Offset, integer $Origin)
    integer Seek(integer $Offset, integer $Origin)

Parameters

  • Offset - the position to be set.
  • Origin - specifies seek origin: the beginning, the end, or the current position of the stream.

Return value

    Returns the new position in the stream.

Description

    Use this method to set the current position of the SFTP stream.

See also:     CanSeek     Position    

Discuss this help topic in SecureBlackbox Forum