FTP

FTP 120 Service Ready Soon vs 502 Command Not Implemented

FTP 120 (Service Ready Soon) is a 1xx Positive Preliminary response, while 502 (Command Not Implemented) is a 5xx Permanent Negative 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, 502 means that command not implemented. The server recognizes the command but does not support it in its current configuration.

説明

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.

説明

Command not implemented. The server recognizes the command but does not support it in its current configuration.

このコードが表示される場合

When you use a valid FTP command that this particular server has not implemented, such as SITE or SMNT.

解決方法

Use an alternative command or approach. Check the server's FEAT response or HELP output to see which commands are actually supported.

主な違い

1.

120 is a 1xx Positive Preliminary response, while 502 is a 5xx Permanent Negative 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 502: Command not implemented. The server recognizes the command but does not support it in its current configuration.

4.

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

5.

You encounter 502 when when you use a valid FTP command that this particular server has not implemented, such as SITE or SMNT.

どちらをいつ使うか

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 502 (Command Not Implemented): Use an alternative command or approach. Check the server's FEAT response or HELP output to see which commands are actually supported.

詳しく見る