FTP

FTP 120 Service Ready Soon vs 221 Closing Control Connection

FTP 120 (Service Ready Soon) is a 1xx Positive Preliminary response, while 221 (Closing Control Connection) is a 2xx Positive Completion 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, 221 means that service closing control connection. The server is logging out and closing the session in response to a QUIT command.

Descrição

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

Quando você o vê

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

Como corrigir

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

Descrição

Service closing control connection. The server is logging out and closing the session in response to a QUIT command.

Quando você o vê

After issuing the QUIT command to gracefully disconnect from the FTP server.

Como corrigir

No fix needed — the session has ended normally. Reconnect with a new session if needed.

Diferenças principais

1.

120 is a 1xx Positive Preliminary response, while 221 is a 2xx Positive Completion 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 221: Service closing control connection. The server is logging out and closing the session in response to a QUIT command.

4.

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

5.

You encounter 221 when after issuing the QUIT command to gracefully disconnect from the FTP server.

Quando usar qual

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 221 (Closing Control Connection): No fix needed — the session has ended normally. Reconnect with a new session if needed.

Saiba mais