FTP

FTP 120 Service Ready Soon vs 331 Username OK, Need Password

FTP 120 (Service Ready Soon) is a 1xx Positive Preliminary response, while 331 (Username OK, Need Password) is a 3xx Positive Intermediate response. 120 indicates that the service will be ready in a certain number of minutes. The server is not yet available but expects to be shortly. 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.

Mô tả

The service will be ready in a certain number of minutes. The server is not yet available but expects to be shortly.

Khi bạn thấy mã này

When connecting to an FTP server that is starting up or temporarily busy with maintenance tasks.

Cách khắc phục

Wait the indicated number of minutes and try connecting again. If the server never becomes ready, contact the server administrator.

Mô tả

User name okay, need password. The server recognized the username and is waiting for the corresponding password to complete authentication.

Khi bạn thấy mã này

After sending the USER command with a valid username. The server is prompting for the PASS command.

Cách khắc phục

Send the PASS command with the correct password. If you get 530 after PASS, the password is wrong — verify your credentials.

Sự khác biệt chính

1.

120 is a 1xx Positive Preliminary response, while 331 is a 3xx Positive Intermediate response.

2.

FTP 120: The service will be ready in a certain number of minutes. The server is not yet available but expects to be shortly.

3.

FTP 331: User name okay, need password. The server recognized the username and is waiting for the corresponding password to complete authentication.

4.

You encounter 120 when when connecting to an FTP server that is starting up or temporarily busy with maintenance tasks.

5.

You encounter 331 when after sending the USER command with a valid username. The server is prompting for the PASS command.

Khi nào dùng cái nào

For 120 (Service Ready Soon): Wait the indicated number of minutes and try connecting again. If the server never becomes ready, contact the server administrator. 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.

Tìm hiểu thêm