FTP

FTP 120 Service Ready Soon vs 225 Data Connection Open

FTP 120 (Service Ready Soon) is a 1xx Positive Preliminary response, while 225 (Data Connection Open) 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, 225 means that data connection open; no transfer in progress. The data channel is established and ready but no file transfer has started yet.

描述

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.

描述

Data connection open; no transfer in progress. The data channel is established and ready but no file transfer has started yet.

何时出现

When the data connection is established but idle, waiting for a transfer command to begin sending or receiving data.

如何修复

No fix needed — the data connection is ready. Issue a RETR, STOR, or LIST command to start using it.

主要区别

1.

120 is a 1xx Positive Preliminary response, while 225 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 225: Data connection open; no transfer in progress. The data channel is established and ready but no file transfer has started yet.

4.

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

5.

You encounter 225 when when the data connection is established but idle, waiting for a transfer command to begin sending or receiving data.

何时使用哪个

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 225 (Data Connection Open): No fix needed — the data connection is ready. Issue a RETR, STOR, or LIST command to start using it.

了解更多