FTP 215 System Type vs 332 Need Account
FTP 215 (System Type) is a 2xx Positive Completion response, while 332 (Need Account) is a 3xx Positive Intermediate response. 215 indicates that the NAME system type, where NAME is an official system name from the list in the Assigned Numbers document. Reports the operating system of the server. In contrast, 332 means that need account for login. The server requires an additional ACCT command to complete the login process, typically for account-based access control.
Описание
The NAME system type, where NAME is an official system name from the list in the Assigned Numbers document. Reports the operating system of the server.
Когда вы это видите
After issuing the SYST command. The server reports its operating system type, commonly 'UNIX Type: L8' or 'Windows_NT'.
Как исправить
No fix needed — use this information to adjust path separators and line endings for the server's OS type.
Описание
Need account for login. The server requires an additional ACCT command to complete the login process, typically for account-based access control.
Когда вы это видите
After sending USER and PASS when the server requires an additional account identifier before granting access.
Как исправить
Send the ACCT command with the appropriate account name. If you do not have an account identifier, contact the server administrator.
Ключевые различия
215 is a 2xx Positive Completion response, while 332 is a 3xx Positive Intermediate response.
FTP 215: The NAME system type, where NAME is an official system name from the list in the Assigned Numbers document. Reports the operating system of the server.
FTP 332: Need account for login. The server requires an additional ACCT command to complete the login process, typically for account-based access control.
You encounter 215 when after issuing the SYST command. The server reports its operating system type, commonly 'UNIX Type: L8' or 'Windows_NT'.
You encounter 332 when after sending USER and PASS when the server requires an additional account identifier before granting access.
Когда что использовать
For 215 (System Type): No fix needed — use this information to adjust path separators and line endings for the server's OS type. For 332 (Need Account): Send the ACCT command with the appropriate account name. If you do not have an account identifier, contact the server administrator.