Libssh2 sftp tell

From Libssh2

size_t libssh2_sftp_tell(LIBSSH2_SFTP_HANDLE *handle);

About

Identify the current offset of the file handle's internal pointer. Note that the SSH2 protocol does not have a notion of file pointers and that libssh2 implements this using a localized file pointer which is updated with each read/write call.

Parameters

Returns

  • Current offset from beginning of file in bytes.