The FTCHKPWD user exit (for the FTP server)

The FTCHKPWD user exit is called immediately after the user enters the password, password phrase, or email address while logging in to the FTP server. The following information is passed to the exit:

The exit can be used to restrict access to a site based on user ID, password or password phrase, number of bad passwords or password phrases entered, or anything in the socket address information for the client or server. If the login is denied by the user exit, the following reply is sent to the user:

530 PASS command failed
Result: If you coded ACCESSERRORMSGS TRUE in FTP.DATA, an additional 530 reply with information about why the PASS command failed might precede the reply above.