Home |
Function cb_ftp_check_user_name_fnc |
Function cb_ftp_check_user_name_fncApplication callback to check user names supplied by an FTP client logging in. Note that this callback is used only if the application has not called ftp_server_set_auth. int cb_ftp_check_user_name_fnc(SOCKET socket, char * User); ParameterssocketSocket on which the callback can send data to the client. UserPointer to the user name trying to log in. return valueThe function should return value LOG_ST_NEED_USER if the supplied user name is to be rejected (i.e. is unknown). Return LOG_ST_NEED_PASSWORD if a password is required and should be prompted for. Value LOG_ST_LOGGED_IN can be returned to immediately log the user in without requiring a password. Function cb_ftp_check_password_fnc
|