FTP 215 System Type vs 257 Pathname Created
Both FTP 215 (System Type) and 257 (Pathname Created) 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, 257 means that pathname created. The server confirms the creation of a new directory or reports the current working directory path.
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
Pathname created. The server confirms the creation of a new directory or reports the current working directory path.
Quando você o vê
After issuing MKD to create a directory or PWD to print the current working directory. The path is enclosed in double quotes.
Como corrigir
No fix needed — the directory was created or the current path was returned. Parse the quoted pathname from the response.
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 257: Pathname created. The server confirms the creation of a new directory or reports the current working directory path.
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 257 when after issuing MKD to create a directory or PWD to print the current working directory. The path is enclosed in double quotes.
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 257 (Pathname Created): No fix needed — the directory was created or the current path was returned. Parse the quoted pathname from the response.