FTP 211 System Status vs 331 Username OK, Need Password
FTP 211 (System Status) is a 2xx Positive Completion response, while 331 (Username OK, Need Password) 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, 331 means that user name okay, need password. The server recognized the username and is waiting for the corresponding password to complete authentication.
Descrição
System status or system help reply. The server provides information about its current status or available features.
Quando você o vê
After issuing the STAT command without arguments, the server returns its system status and supported features.
Como corrigir
No fix needed — this is an informational response. Use the information to understand the server's capabilities and current state.
Descrição
User name okay, need password. The server recognized the username and is waiting for the corresponding password to complete authentication.
Quando você o vê
After sending the USER command with a valid username. The server is prompting for the PASS command.
Como corrigir
Send the PASS command with the correct password. If you get 530 after PASS, the password is wrong — verify your credentials.
Diferenças principais
211 is a 2xx Positive Completion response, while 331 is a 3xx Positive Intermediate response.
FTP 211: System status or system help reply. The server provides information about its current status or available features.
FTP 331: User name okay, need password. The server recognized the username and is waiting for the corresponding password to complete authentication.
You encounter 211 when after issuing the STAT command without arguments, the server returns its system status and supported features.
You encounter 331 when after sending the USER command with a valid username. The server is prompting for the PASS command.
Quando usar qual
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 331 (Username OK, Need Password): Send the PASS command with the correct password. If you get 530 after PASS, the password is wrong — verify your credentials.