classes/CSFTP.cpp
void CSFTP::close()
    {
        if (m_sftp)
        {
            sftp_free(m_sftp);
            m_sftp = NULL;
        }
        // Free IO Buffer
        m_ioBuffer.reset();
    }
//
// Close connection with SFTP server and free its resources.
//
Close connection with SFTP server and free its resources.
Close connection with SFTP server and free its resources .
void CSFTP::close()
    {
        if (m_sftp)
        {
            sftp_free(m_sftp);
            m_sftp = NULL;
        }
        m_ioBuffer.reset();
    }
void CSFTP :: close ( ) { if ( m_sftp ) { sftp_free ( m_sftp ) ; m_sftp = NULL ; } m_ioBuffer . reset ( ) ; }
Close connection with SFTP server and free its resources.
Close connection with SFTP server and free its resources .
// Free IO Buffer