FTP 200 Command OK vs 215 System Type
Both FTP 200 (Command OK) and 215 (System Type) belong to the 2xx Positive Completion category. 200 indicates that the command has been successfully executed. This is a general acknowledgment that the command was understood and carried out. Meanwhile, 215 means 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.
描述
The command has been successfully executed. This is a general acknowledgment that the command was understood and carried out.
何时出现
After issuing any command that completes successfully, such as TYPE, MODE, or NOOP.
如何修复
No fix needed — the command succeeded. This is the standard positive response for commands that don't return data.
描述
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.
主要区别
FTP 200: The command has been successfully executed. This is a general acknowledgment that the command was understood and carried out.
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.
You encounter 200 when after issuing any command that completes successfully, such as TYPE, MODE, or NOOP.
You encounter 215 when after issuing the SYST command. The server reports its operating system type, commonly 'UNIX Type: L8' or 'Windows_NT'.
何时使用哪个
For 200 (Command OK): No fix needed — the command succeeded. This is the standard positive response for commands that don't return data. For 215 (System Type): No fix needed — use this information to adjust path separators and line endings for the server's OS type.