Skip to content

SSH.SFTPDirectory.LastError

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

SSH.SFTPDirectory.LastError

Property declaration

 Dim LastError As Int32

Remarks

The most recent error code for the SFTPDirectory. This gets updated anytime a call into libssh2 returns an error code.

If the error code is LIBSSH2_ERROR_SFTP_PROTOCOL(-31) then check SFTPSession.LastStatusCode for details.

See also

Clone this wiki locally