Jump to main content

##

# 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

Members | Description
--- | ---
TFTPC_ERROR_FILE_NOT_FOUND = -1 | TFTP client file not found.
TFTPC_ERROR_BUSY = -2 | TFTP client is busy when one file PUT or GET transfer is going on.
TFTPC_ERROR_DISK_FULL = -3 | TFTP client buffer full.
TFTPC_ERROR_INVALID_OPERATION = -4 | TFTP client invalid command operation.
TFTPC_ERROR_UNKNOWN_TID = -5 | TfTP ID error.
TFTPC_ERROR_FILE_EXISTS = -6 | TFTP client file already exists.
TFTPC_ERROR_NO_SUCH_USE = -7 | TFTP client not in use.
TFTPC_ERROR_DNS_RESOLVE_ERR = -8 | TFTP client DNS resolve error.
TFTPC_ERROR_INVALID_INTERFACE = -9 | TFTP client interface error.
TFTPC_ERROR_INVALID_FILE_LENGTH = -10 | TFTP 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 = -11 | Invali Server Address.