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

SSH.SFTPSession.LastError

Property declaration

 Dim LastError As Int32

Return value

Returns the most recent libssh2 error code for the SFTPSession. If this is LIBSSH2_ERROR_SFTP_PROTOCOL(-31) then SFTPSession.LastStatusCode will contain the SFTP error code.

See also