SSH.SFTPSession.LastStatusCode - charonn0/RB-libssh2 GitHub Wiki

SSH.SFTPSession.LastStatusCode

Property declaration

 Dim LastStatusCode As Int32

Return value

If SFTPSession.LastError, SFTPStream.LastError, or SFTPDirectory.LastError is LIBSSH2_ERROR_SFTP_PROTOCOL(-31) then the last status code will be one of the LIBSSH2_FX_* constants (e.g. LIBSSH2_FX_PERMISSION_DENIED.)

See also