FTP

FTP 213 File Status vs 215 System Type

Both FTP 213 (File Status) and 215 (System Type) belong to the 2xx Positive Completion category. 213 indicates that file status reply. The server provides information about a specific file, typically its size or modification time. 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.

描述

File status reply. The server provides information about a specific file, typically its size or modification time.

何时出现

After issuing the SIZE or MDTM command, the server returns the file size in bytes or the last modification timestamp.

如何修复

No fix needed — this is an informational response. Use the returned data to determine file size before download or to check timestamps for synchronization.

描述

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.

主要区别

1.

FTP 213: File status reply. The server provides information about a specific file, typically its size or modification time.

2.

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.

3.

You encounter 213 when after issuing the SIZE or MDTM command, the server returns the file size in bytes or the last modification timestamp.

4.

You encounter 215 when after issuing the SYST command. The server reports its operating system type, commonly 'UNIX Type: L8' or 'Windows_NT'.

何时使用哪个

For 213 (File Status): No fix needed — this is an informational response. Use the returned data to determine file size before download or to check timestamps for synchronization. For 215 (System Type): No fix needed — use this information to adjust path separators and line endings for the server's OS type.

了解更多