Skip to content

SSH.SFTPErrorName

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

SSH.SFTPErrorName

Method signature

 Protected Function SFTPErrorName(SFTPStatusCode As Integer) As String

Parameters

Name Type Comment
SFTPStatusCode Integer A SFTP status code (one of the LIBSSH2_FX_* constants.)

Return value

The name of the status code, if known. For example, SFTPErrorName(11)="LIBSSH2_FX_FILE_ALREADY_EXISTS".

Clone this wiki locally