Enum StatusCode
- Namespace
- Renci.SshNet.Sftp
- Assembly
- Renci.SshNet.dll
Specifies status codes returned by the server in response to SFTP requests.
public enum StatusCodeFields
BadMessage = 5-
SSH_FX_BAD_MESSAGE.
A badly formatted packet or SFTP protocol incompatibility was detected.
ConnectionLost = 7-
SSH_FX_CONNECTION_LOST.
A pseudo-error which indicates that the connection to the server has been lost (it can only be generated locally by the client, and MUST NOT be returned by servers).
Eof = 1-
SSH_FX_EOF.
An attempt was made to read past the end of the file, or no more directory entries were available.
Failure = 4-
SSH_FX_FAILURE.
An error occurred, but no specific error code exists to describe the failure.
NoConnection = 6-
SSH_FX_NO_CONNECTION.
A pseudo-error which indicates that the client has no connection to the server (it can only be generated locally by the client, and MUST NOT be returned by servers).
NoSuchFile = 2-
SSH_FX_NO_SUCH_FILE.
A reference was made to a file that does not exist.
Ok = 0-
SSH_FX_OK.
The operation completed successfully.
OperationUnsupported = 8-
SSH_FX_OP_UNSUPPORTED.
The operation could not be completed because the server did not support it.
PermissionDenied = 3-
SSH_FX_PERMISSION_DENIED.
The user does not have sufficient permissions to perform the operation.