classes/CSFTP.cpp
uint64_t CSFTP::currentFilePostion64(const File &fileHandle)
    {
        int64_t position = sftp_tell64(fileHandle.get());
        if (position == -1)
        {
            throw Exception(*this, __func__);
        }
        return (static_cast<uint64_t>(position));
    }
//
// Get the current offset within a file (64 bit).
//
Get the current offset within a file (64 bit).
Get the current offset within a file ( 64 bit ) .
uint64_t CSFTP::currentFilePostion64(const File &fileHandle)
    {
        int64_t position = sftp_tell64(fileHandle.get());
        if (position == -1)
        {
            throw Exception(*this, __func__);
        }
        return (static_cast<uint64_t>(position));
    }
uint64_t CSFTP :: currentFilePostion64 ( const File & fileHandle ) { int64_t position = sftp_tell64 ( fileHandle . get ( ) ) ; if ( position == -1 ) { throw Exception ( * this , __func__ ) ; } return ( static_cast < uint64_t > ( position ) ) ; }
Get the current offset within a file (64 bit).
Get the current offset within a file ( 64 bit ) .