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.
Descrição
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.
Quando você o vê
After issuing the SYST command. The server reports its operating system type, commonly 'UNIX Type: L8' or 'Windows_NT'.
Como corrigir
No fix needed — use this information to adjust path separators and line endings for the server's OS type.
Descrição
Service closing control connection. The server is logging out and closing the session in response to a QUIT command.
Quando você o vê
After issuing the QUIT command to gracefully disconnect from the FTP server.
Como corrigir
No fix needed — the session has ended normally. Reconnect with a new session if needed.
Diferenças principais
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.
FTP 221: Service closing control connection. The server is logging out and closing the session in response to a QUIT command.
You encounter 215 when after issuing the SYST command. The server reports its operating system type, commonly 'UNIX Type: L8' or 'Windows_NT'.
You encounter 221 when after issuing the QUIT command to gracefully disconnect from the FTP server.
Quando usar qual
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.