TCPIP_FTPC_CTRL_EVENT_CALLBACK_TYPE Type

C

typedef void (* TCPIP_FTPC_CTRL_EVENT_CALLBACK_TYPE)(TCPIP_FTPC_CONN_HANDLE_TYPE ftpcHandle, TCPIP_FTPC_CTRL_EVENT_TYPE ftpcEvent, TCPIP_FTPC_CMD cmd, char * ctrlbuff, uint16_t ctrllen); 

Description

Type: TCPIP_FTPC_CTRL_EVENT_CALLBACK_TYPE Data type describing a function that will be called by the FTPC module upon control socket events FTPC will parse and process the FTP client-server control messages anyway but it can optionally pass the information to the user.

Remarks

None

Parameters

ParametersDescription
ftpcHandlehandle identifying the connection.
ftpcEventthe control socket event
cmdFTP Command
ctrlbuffpointer to control socket data buffer
ctrllenreceive data length