classes/CSFTP.cpp
void CSFTP::changePermissions(const std::string &filePath, const FilePermissions &filePermissions)
    {
        if (sftp_chmod(m_sftp, filePath.c_str(), filePermissions) < 0)
        {
            throw Exception(*this, __func__);
        }
    }
//
// Change the permissions on a remote file.
//
Change the permissions on a remote file.
Change the permissions on a remote file .
void CSFTP::changePermissions(const std::string &filePath, const FilePermissions &filePermissions)
    {
        if (sftp_chmod(m_sftp, filePath.c_str(), filePermissions) < 0)
        {
            throw Exception(*this, __func__);
        }
    }
void CSFTP :: changePermissions ( const std :: string & filePath , const FilePermissions & filePermissions ) { if ( sftp_chmod ( m_sftp , filePath . c_str ( ) , filePermissions ) < 0 ) { throw Exception ( * this , __func__ ) ; } }
Change the permissions on a remote file.
Change the permissions on a remote file .