classes/CSFTP.cpp
void CSFTP::createLink(const std::string &targetPath, const std::string &linkPath)
    {
        if (sftp_symlink(m_sftp, targetPath.c_str(), linkPath.c_str()) < 0)
        {
            throw Exception(*this, __func__);
        }
    }
//
// Create a remote symbolic link.
//
Create a remote symbolic link.
Create a remote symbolic link .
void CSFTP::createLink(const std::string &targetPath, const std::string &linkPath)
    {
        if (sftp_symlink(m_sftp, targetPath.c_str(), linkPath.c_str()) < 0)
        {
            throw Exception(*this, __func__);
        }
    }
void CSFTP :: createLink ( const std :: string & targetPath , const std :: string & linkPath ) { if ( sftp_symlink ( m_sftp , targetPath . c_str ( ) , linkPath . c_str ( ) ) < 0 ) { throw Exception ( * this , __func__ ) ; } }
Create a remote symbolic link.
Create a remote symbolic link .