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.
説明
The service will be ready in a certain number of minutes. The server is not yet available but expects to be shortly.
このコードが表示される場合
When connecting to an FTP server that is starting up or temporarily busy with maintenance tasks.
解決方法
Wait the indicated number of minutes and try connecting again. If the server never becomes ready, contact the server administrator.
説明
Service closing control connection. The server is logging out and closing the session in response to a QUIT command.
このコードが表示される場合
After issuing the QUIT command to gracefully disconnect from the FTP server.
解決方法
No fix needed — the session has ended normally. Reconnect with a new session if needed.
主な違い
120 is a 1xx Positive Preliminary response, while 221 is a 2xx Positive Completion response.
FTP 120: The service will be ready in a certain number of minutes. The server is not yet available but expects to be shortly.
FTP 221: Service closing control connection. The server is logging out and closing the session in response to a QUIT command.
You encounter 120 when when connecting to an FTP server that is starting up or temporarily busy with maintenance tasks.
You encounter 221 when after issuing the QUIT command to gracefully disconnect from the FTP server.
どちらをいつ使うか
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.