classes/CSFTP.cpp
void CSFTP::getLinkAttributes(const std::string &linkPath, FileAttributes &fileAttributes)
    {
        sftp_attributes file = sftp_lstat(m_sftp, linkPath.c_str());
        if (file == NULL)
        {
            throw Exception(*this, __func__);
        }
        fileAttributes.reset(file);
    }
//
// Get the attributes of a file that is the target of a symbolic link.
//
Get the attributes of a file that is the target of a symbolic link.
Get the attributes of a file that is the target of a symbolic link .
void CSFTP::getLinkAttributes(const std::string &linkPath, FileAttributes &fileAttributes)
    {
        sftp_attributes file = sftp_lstat(m_sftp, linkPath.c_str());
        if (file == NULL)
        {
            throw Exception(*this, __func__);
        }
        fileAttributes.reset(file);
    }
void CSFTP :: getLinkAttributes ( const std :: string & linkPath , FileAttributes & fileAttributes ) { sftp_attributes file = sftp_lstat ( m_sftp , linkPath . c_str ( ) ) ; if ( file == NULL ) { throw Exception ( * this , __func__ ) ; } fileAttributes . reset ( file ) ; }
Get the attributes of a file that is the target of a symbolic link.
Get the attributes of a file that is the target of a symbolic link .