FTP (File Transfer Protocol) uses a username and password combination to authenticate users when they connect to an FTP server.
When a user attempts to connect to an FTP server, they are prompted to enter a username and password combination. The server then validates the username and password entered by the user to ensure they match a valid user account on the server.
If the username and password are correct, the user is granted access to the resources they have permission to access on the server. If the username and password are incorrect, the user is denied access and must enter a valid username and password combination to access the server.
FTP also supports anonymous user accounts that allow users to access some of the publicly available resources on the server without authentication. For anonymous accounts, the user typically enters “anonymous” as the username and their email address as the password. Access for anonymous accounts is limited to read-only access to public files and directories.