classes/CSFTP.cpp
void CSFTP::getFileSystemInfo(const File &fileHandle, FileSystemInfo &fileSystem)
    {
        sftp_statvfs_t file{sftp_fstatvfs(fileHandle.get())};
        if (file == NULL)
        {
            throw Exception(*this, __func__);
        }
        fileSystem.reset(file);
    }
//
// Return system information about mounted file system.
//
Return system information about mounted file system.
Return system information about mounted file system .
void CSFTP::getFileSystemInfo(const File &fileHandle, FileSystemInfo &fileSystem)
    {
        sftp_statvfs_t file{sftp_fstatvfs(fileHandle.get())};
        if (file == NULL)
        {
            throw Exception(*this, __func__);
        }
        fileSystem.reset(file);
    }
void CSFTP :: getFileSystemInfo ( const File & fileHandle , FileSystemInfo & fileSystem ) { sftp_statvfs_t file { sftp_fstatvfs ( fileHandle . get ( ) ) } ; if ( file == NULL ) { throw Exception ( * this , __func__ ) ; } fileSystem . reset ( file ) ; }
Return system information about mounted file system.
Return system information about mounted file system .