Home |
Function cb_ftp_check_user_name_fnc Function cb_ftp_check_password_fnc |
Function cb_ftp_check_password_fncApplication callback to check user passwords 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_password_fnc(SOCKET socket, char * Password); ParameterssocketSocket on which the callback can send data to the client. PasswordPointer to the user's password. return valueThe function should return value LOG_ST_NEED_USER if the supplied password is to be rejected and the complete login procedure should be restarted or aborted. Return LOG_ST_NEED_PASSWORD if a new password should be prompted for. Value LOG_ST_LOGGED_IN can be returned to log the user in. Function cb_ftp_check_user_name_fnc
|