SilcSFTPStatus
NAME
typedef enum { ... } SilcSFTPStatus
DESCRIPTION
SFTP protocol status types. These enumerations is used to indicate
the status of request. The server can send these to the client when
client has requested an operation.
SOURCE
typedef enum {
SILC_SFTP_STATUS_OK = 0, /* Operation successful */
SILC_SFTP_STATUS_EOF = 1, /* No more data available */
SILC_SFTP_STATUS_NO_SUCH_FILE = 2, /* File does not exist */
SILC_SFTP_STATUS_PERMISSION_DENIED = 3, /* No sufficient permissions */
SILC_SFTP_STATUS_FAILURE = 4, /* Operation failed */
SILC_SFTP_STATUS_BAD_MESSAGE = 5, /* Bad message received */
SILC_SFTP_STATUS_NO_CONNECTION = 6, /* No connection to remote */
SILC_SFTP_STATUS_CONNECTION_LOST = 7, /* Connection lost to server */
SILC_SFTP_STATUS_OP_UNSUPPORTED = 8, /* Operation unsupported */
SILC_SFTP_STATUS_INVALID_HANDLE = 9, /* Invalid file handle */
SILC_SFTP_STATUS_NO_SUCH_PATH = 10, /* Path does not exist */
SILC_SFTP_STATUS_FILE_ALREADY_EXIST = 11, /* File already exists */
SILC_SFTP_STATUS_WRITE_PROTECT = 12, /* Read-only or protected */
SILC_SFTP_STATUS_NO_MEDIA = 13, /* No media available */
SILC_SFTP_STATUS_NO_SPACE_ON_DEVICE = 14, /* No space on device */
SILC_SFTP_STATUS_QUOTA_EXCEEDED = 15, /* Quota limit reached */
SILC_SFTP_STATUS_UNKNOWN_PRINCIBLE = 16, /* Unknown princible */
SILC_SFTP_STATUS_LOCK_CONFLICT = 17, /* File already locked */
SILC_SFTP_STATUS_NOT_EMPTY = 18, /* Directory not empty */
SILC_SFTP_STATUS_NOT_A_DIRECTORY = 19, /* Not a directory */
SILC_SFTP_STATUS_INVALID_FILENAME = 20, /* Invalid filename */
SILC_SFTP_STATUS_LINK_LOOP = 21, /* Too many symlinks */
SILC_SFTP_STATUS_CANNOT_DELETE = 22, /* Could not delete file */
SILC_SFTP_STATUS_INVALID_PARAMETER = 23, /* Invalid parameter */
SILC_SFTP_STATUS_FILE_IS_A_DIRECTORY = 24, /* File is a directory file */
SILC_SFTP_STATUS_BR_LOCK_CONFLICT = 25, /* Byte range lock conflict */
SILC_SFTP_STATUS_BR_LOCK_REFUSED = 26, /* Byte range lock refused */
SILC_SFTP_STATUS_DELETE_PENDING = 27, /* File is being deleted */
SILC_SFTP_STATUS_FILE_CORRUPT = 28, /* File is corrupted */
} SilcSFTPStatus;
|