libssh2\_sftp\_tell64(3) libssh2 libssh2\_sftp\_tell64(3)

# [NAME](#NAME)

libssh2\_sftp\_tell64 - get the current read/write position indicator for a file

# [SYNOPSIS](#SYNOPSIS)

```
#include <libssh2.h>
#include <libssh2_sftp.h>
libssh2_uint64_t
libssh2_sftp_tell64(LIBSSH2_SFTP_HANDLE *handle);
```

# [DESCRIPTION](#DESCRIPTION)

*handle* - SFTP File Handle as returned by [**libssh2\_sftp\_open\_ex(3)**](/man/os/libssh2/libssh2_sftp_open_ex.3)

Identify the current offset of the file handle's internal pointer.

# [RETURN VALUE](#RETURN_VALUE)

Current offset from beginning of file in bytes.

# [AVAILABILITY](#AVAILABILITY)

Added in libssh2 1.0

# [SEE ALSO](#SEE_ALSO)

**[libssh2\_sftp\_open\_ex(3)](/man/os/libssh2/libssh2_sftp_open_ex.3),** [**libssh2\_sftp\_tell(3)**](/man/os/libssh2/libssh2_sftp_tell.3)

22 Dec 2008 libssh2 1.0

---

Document: libssh2_sftp_tell64(3) from libssh2 1.11.1-r11 (Chainguard OS)
Source: https://github.com/libssh2/libssh2.git
