FTP 215 System Type vs 500 Syntax Error
FTP 215 (System Type) is a 2xx Positive Completion response, while 500 (Syntax Error) is a 5xx Permanent Negative response. 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. In contrast, 500 means that syntax error, command unrecognized. The server could not parse the command. This may also be sent when the command line is too long.
描述
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.
描述
Syntax error, command unrecognized. The server could not parse the command. This may also be sent when the command line is too long.
何时出现
When you send a malformed or misspelled command, or a command the server does not recognize at all.
如何修复
Check the command spelling and syntax. Use HELP to see the list of supported commands on this server.
主要区别
215 is a 2xx Positive Completion response, while 500 is a 5xx Permanent Negative response.
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 500: Syntax error, command unrecognized. The server could not parse the command. This may also be sent when the command line is too long.
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 500 when when you send a malformed or misspelled command, or a command the server does not recognize at all.
何时使用哪个
For 215 (System Type): No fix needed — use this information to adjust path separators and line endings for the server's OS type. For 500 (Syntax Error): Check the command spelling and syntax. Use HELP to see the list of supported commands on this server.