FTP 110 Restart Marker Reply vs 331 Username OK, Need Password
FTP 110 (Restart Marker Reply) is a 1xx Positive Preliminary response, while 331 (Username OK, Need Password) is a 3xx Positive Intermediate response. 110 indicates that the server is sending a restart marker reply. The text is exact and not left to interpretation. This marker is used to indicate the point at which a file transfer should be restarted. 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.
描述
The server is sending a restart marker reply. The text is exact and not left to interpretation. This marker is used to indicate the point at which a file transfer should be restarted.
何时出现
During a resumed file transfer when the server confirms the restart position in the data stream.
如何修复
No fix needed — this is a normal response during transfer recovery. If restarts keep failing, verify the marker format matches what your client expects.
描述
User name okay, need password. The server recognized the username and is waiting for the corresponding password to complete authentication.
何时出现
After sending the USER command with a valid username. The server is prompting for the PASS command.
如何修复
Send the PASS command with the correct password. If you get 530 after PASS, the password is wrong — verify your credentials.
主要区别
110 is a 1xx Positive Preliminary response, while 331 is a 3xx Positive Intermediate response.
FTP 110: The server is sending a restart marker reply. The text is exact and not left to interpretation. This marker is used to indicate the point at which a file transfer should be restarted.
FTP 331: User name okay, need password. The server recognized the username and is waiting for the corresponding password to complete authentication.
You encounter 110 when during a resumed file transfer when the server confirms the restart position in the data stream.
You encounter 331 when after sending the USER command with a valid username. The server is prompting for the PASS command.
何时使用哪个
For 110 (Restart Marker Reply): No fix needed — this is a normal response during transfer recovery. If restarts keep failing, verify the marker format matches what your client expects. 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.