FTP

FTP 215 System Type vs 221 Closing Control Connection

Both FTP 215 (System Type) and 221 (Closing Control Connection) belong to the 2xx Positive Completion category. 215 indicates that the NAME system type, where NAME is an official system name from the list in the Assigned Numbers document. Reports the operating system of the server. Meanwhile, 221 means that service closing control connection. The server is logging out and closing the session in response to a QUIT command.

Описание

The NAME system type, where NAME is an official system name from the list in the Assigned Numbers document. Reports the operating system of the server.

Когда вы это видите

After issuing the SYST command. The server reports its operating system type, commonly 'UNIX Type: L8' or 'Windows_NT'.

Как исправить

No fix needed — use this information to adjust path separators and line endings for the server's OS type.

Описание

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.

Ключевые различия

1.

FTP 215: The NAME system type, where NAME is an official system name from the list in the Assigned Numbers document. Reports the operating system of the server.

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 215 when after issuing the SYST command. The server reports its operating system type, commonly 'UNIX Type: L8' or 'Windows_NT'.

4.

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

Когда что использовать

For 215 (System Type): No fix needed — use this information to adjust path separators and line endings for the server's OS type. For 221 (Closing Control Connection): No fix needed — the session has ended normally. Reconnect with a new session if needed.

Узнать больше