TCPIP_TFTPC_OPERATION_RESULT Enumeration

C

typedef enum {
    TFTPC_ERROR_NONE = 0,
    TFTPC_ERROR_FILE_NOT_FOUND = -1,
    TFTPC_ERROR_BUSY = -2,
    TFTPC_ERROR_DISK_FULL = -3,
    TFTPC_ERROR_INVALID_OPERATION = -4,
    TFTPC_ERROR_UNKNOWN_TID = -5,
    TFTPC_ERROR_FILE_EXISTS = -6,
    TFTPC_ERROR_NO_SUCH_USE = -7,
    TFTPC_ERROR_DNS_RESOLVE_ERR = -8,
    TFTPC_ERROR_INVALID_INTERFACE = -9,
    TFTPC_ERROR_INVALID_FILE_LENGTH = -10,
    TFTPC_ERROR_INVALID_SERVER_ADDR = -11
} TCPIP_TFTPC_OPERATION_RESULT;

Description

Enumeration: TCPIP_TFTPC_OPERATION_RESULT.

This enumeration defines the standard error codes for TFTP PUT and GET command operation.

Members

MembersDescription
TFTPC_ERROR_FILE_NOT_FOUND = -1TFTP client file not found.
TFTPC_ERROR_BUSY = -2TFTP client is busy when one file PUT or GET transfer is going on.
TFTPC_ERROR_DISK_FULL = -3TFTP client buffer full.
TFTPC_ERROR_INVALID_OPERATION = -4TFTP client invalid command operation.
TFTPC_ERROR_UNKNOWN_TID = -5TfTP ID error.
TFTPC_ERROR_FILE_EXISTS = -6TFTP client file already exists.
TFTPC_ERROR_NO_SUCH_USE = -7TFTP client not in use.
TFTPC_ERROR_DNS_RESOLVE_ERR = -8TFTP client DNS resolve error.
TFTPC_ERROR_INVALID_INTERFACE = -9TFTP client interface error.
TFTPC_ERROR_INVALID_FILE_LENGTH = -10TFTP client file length is more than the expected size, which should be the size of SYS_FS_FILE_NAME_LEN.
TFTPC_ERROR_INVALID_SERVER_ADDR = -11Invali Server Address.