FTP reply code 332 indicates that the USER and PASS credentials were accepted but an additional ACCT (account) command is required before login is complete. The ACCT command provides a third level of authentication or account selection — some servers use it to select which project, department, or billing account the session should be charged to. This was more common on mainframe and multi-tenant systems. Most modern FTP servers do not use ACCT and you are unlikely to encounter 332 unless connecting to legacy or enterprise systems.
The server authenticated the user but needs to know which account or project to associate with the session. This is common on mainframe FTP services and some enterprise file transfer systems.
On shared hosting or enterprise systems, the ACCT command selects which storage quota, billing account, or virtual host to use for the session. The user may have access to multiple accounts.
After receiving 332, send ACCT followed by the account name. If you do not know the account name, check with the FTP server administrator.
The ACCT command is server-specific. Consult the FTP server's documentation or your administrator to determine what value to send with ACCT.
Authentication successful. The user is now logged in and can access the server.
The username was accepted. The server is now waiting for the password.
The user is not logged in. Authentication is required before this command can be executed.
The server requires an ACCT command before files can be stored or uploaded.