FTP

FTP 211 System Status vs 221 Closing Control Connection

Both FTP 211 (System Status) and 221 (Closing Control Connection) 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, 221 means that service closing control connection. The server is logging out and closing the session in response to a QUIT command.

Mô tả

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

Khi bạn thấy mã này

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

Cách khắc phục

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

Mô tả

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

Khi bạn thấy mã này

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

Cách khắc phục

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

Sự khác biệt chính

1.

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

2.

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

3.

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

4.

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

Khi nào dùng cái nào

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

Tìm hiểu thêm