classes/CSFTP.cpp
void CSFTP::setFileAttributes(const std::string &filePath, const FileAttributes &fileAttributes)
    {
        if (sftp_setstat(m_sftp, filePath.c_str(), fileAttributes.get()) < 0)
        {
            throw Exception(*this, __func__);
        }
    }
//
// Set the attributes of a file.
//
Set the attributes of a file.
Set the attributes of a file .
void CSFTP::setFileAttributes(const std::string &filePath, const FileAttributes &fileAttributes)
    {
        if (sftp_setstat(m_sftp, filePath.c_str(), fileAttributes.get()) < 0)
        {
            throw Exception(*this, __func__);
        }
    }
void CSFTP :: setFileAttributes ( const std :: string & filePath , const FileAttributes & fileAttributes ) { if ( sftp_setstat ( m_sftp , filePath . c_str ( ) , fileAttributes . get ( ) ) < 0 ) { throw Exception ( * this , __func__ ) ; } }
Set the attributes of a file.
Set the attributes of a file .