FTP

FTP 211 System Status vs 332 Need Account

FTP 211 (System Status) is a 2xx Positive Completion response, while 332 (Need Account) is a 3xx Positive Intermediate response. 211 indicates that system status or system help reply. The server provides information about its current status or available features. 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.

描述

System status or system help reply. The server provides information about its current status or available features.

何时出现

After issuing the STAT command without arguments, the server returns its system status and supported features.

如何修复

No fix needed — this is an informational response. Use the information to understand the server's capabilities and current state.

描述

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.

主要区别

1.

211 is a 2xx Positive Completion response, while 332 is a 3xx Positive Intermediate response.

2.

FTP 211: System status or system help reply. The server provides information about its current status or available features.

3.

FTP 332: Need account for login. The server requires an additional ACCT command to complete the login process, typically for account-based access control.

4.

You encounter 211 when after issuing the STAT command without arguments, the server returns its system status and supported features.

5.

You encounter 332 when after sending USER and PASS when the server requires an additional account identifier before granting access.

何时使用哪个

For 211 (System Status): No fix needed — this is an informational response. Use the information to understand the server's capabilities and current state. 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.

了解更多