classes/CSFTP.cpp
void CSFTP::changeFileModificationAccessTimes(const std::string &filePath, const Time *newTimeValues)
    {
        if (sftp_utimes(m_sftp, filePath.c_str(), newTimeValues) < 0)
        {
            throw Exception(*this, __func__);
        }
    }
//
// Change last access/modified time for a file.
//
Change last access/modified time for a file.
Change last access / modified time for a file .
void CSFTP::changeFileModificationAccessTimes(const std::string &filePath, const Time *newTimeValues)
    {
        if (sftp_utimes(m_sftp, filePath.c_str(), newTimeValues) < 0)
        {
            throw Exception(*this, __func__);
        }
    }
void CSFTP :: changeFileModificationAccessTimes ( const std :: string & filePath , const Time * newTimeValues ) { if ( sftp_utimes ( m_sftp , filePath . c_str ( ) , newTimeValues ) < 0 ) { throw Exception ( * this , __func__ ) ; } }
Change last access/modified time for a file.
Change last access / modified time for a file .