classes/CSFTP.cpp
void CSFTP::open()
    {
        if (sftp_init(m_sftp) != SSH_OK)
        {
            sftp_free(m_sftp);
            m_sftp = NULL;
            throw Exception(*this, __func__);
        }
    }
//
// Open up connection to SFTP server.
//
Open up connection to SFTP server.
Open up connection to SFTP server .
void CSFTP::open()
    {
        if (sftp_init(m_sftp) != SSH_OK)
        {
            sftp_free(m_sftp);
            m_sftp = NULL;
            throw Exception(*this, __func__);
        }
    }
void CSFTP :: open ( ) { if ( sftp_init ( m_sftp ) != SSH_OK ) { sftp_free ( m_sftp ) ; m_sftp = NULL ; throw Exception ( * this , __func__ ) ; } }
Open up connection to SFTP server.
Open up connection to SFTP server .