Skip to content

SSH.SFTPSession.LastStatusCode

Andrew Lambert edited this page Nov 26, 2022 · 8 revisions

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

Clone this wiki locally