TCPIP_FTPC_Login Function

C

TCPIP_FTPC_RETURN_TYPE TCPIP_FTPC_Login(TCPIP_FTPC_CONN_HANDLE_TYPE ftpcHandle, const char * username, const char * password, const char * account); 

Returns

TCPIP_FTPC_RET_OK - if successfully scheduled login process TCPIP_FTPC_RET_BUSY - could not schedule login process as FTP Client is busy TCPIP_FTPC_RET_NOT_CONNECT - Not connected to FTP server TCPIP_FTPC_RET_NOT_LOGIN -Connected, but not Logged in

Description

This function starts the Login process for FTP Client

Remarks

This function will execute after the completion of previous FTPC function; otherwise it will return TCPIP_FTPC_RET_BUSY

Preconditions

FTPC module should have been initialized and connected

Parameters

ParametersDescription
ftpcHandlehandle identifying the control connection
usernameusername for FTP server
passwordpassword for FTP server
accountaccount for FTP server