utility/SFTPUtil.cpp
static bool isRegularFile(CSFTP &sftpServer, const std::string &remotePath)
    {
        CSFTP::FileAttributes fileAttributes;
        sftpServer.getFileAttributes(remotePath, fileAttributes);
        return (sftpServer.isARegularFile(fileAttributes));
    }
//
// Return true if a given remote path is a regular file.
//
Return true if a given remote path is a regular file.
Return true if a given remote path is a regular file .
static bool isRegularFile(CSFTP &sftpServer, const std::string &remotePath)
    {
        CSFTP::FileAttributes fileAttributes;
        sftpServer.getFileAttributes(remotePath, fileAttributes);
        return (sftpServer.isARegularFile(fileAttributes));
    }
static bool isRegularFile ( CSFTP & sftpServer , const std :: string & remotePath ) { CSFTP :: FileAttributes fileAttributes ; sftpServer . getFileAttributes ( remotePath , fileAttributes ) ; return ( sftpServer . isARegularFile ( fileAttributes ) ) ; }
Return true if a given remote path is a regular file.
Return true if a given remote path is a regular file .