FTP 215 System Type vs 226 Closing Data Connection
Both FTP 215 (System Type) and 226 (Closing Data 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, 226 means that closing data connection. The requested file action was successful and the data connection is being closed.
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
Closing data connection. The requested file action was successful and the data connection is being closed.
Quando você o vê
After a file transfer, directory listing, or other data operation completes successfully.
Como corrigir
No fix needed — the transfer completed successfully. The data connection is closed and a new one will be opened for the next transfer.
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 226: Closing data connection. The requested file action was successful and the data connection is being closed.
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 226 when after a file transfer, directory listing, or other data operation completes successfully.
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 226 (Closing Data Connection): No fix needed — the transfer completed successfully. The data connection is closed and a new one will be opened for the next transfer.