FTP

FTP 211 System Status vs 212 Directory Status

Both FTP 211 (System Status) and 212 (Directory Status) belong to the 2xx Positive Completion category. 211 indicates that system status or system help reply. The server provides information about its current status or available features. Meanwhile, 212 means that directory status reply. The server provides information about the current directory or a specified directory.

説明

System status or system help reply. The server provides information about its current status or available features.

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

After issuing the STAT command without arguments, the server returns its system status and supported features.

解決方法

No fix needed — this is an informational response. Use the information to understand the server's capabilities and current state.

説明

Directory status reply. The server provides information about the current directory or a specified directory.

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

After issuing the STAT command on a directory, the server returns the directory listing or status information.

解決方法

No fix needed — this is an informational response showing directory contents or status.

主な違い

1.

FTP 211: System status or system help reply. The server provides information about its current status or available features.

2.

FTP 212: Directory status reply. The server provides information about the current directory or a specified directory.

3.

You encounter 211 when after issuing the STAT command without arguments, the server returns its system status and supported features.

4.

You encounter 212 when after issuing the STAT command on a directory, the server returns the directory listing or status information.

どちらをいつ使うか

For 211 (System Status): No fix needed — this is an informational response. Use the information to understand the server's capabilities and current state. For 212 (Directory Status): No fix needed — this is an informational response showing directory contents or status.

詳しく見る