FTP

FTP 211 System Status vs 213 File Status

Both FTP 211 (System Status) and 213 (File Status) belong to the 2xx Positive Completion category. 211 indicates that system status or system help reply. The server provides information about its current status or available features. Meanwhile, 213 means that file status reply. The server provides information about a specific file, typically its size or modification time.

説明

System status or system help reply. The server provides information about its current status or available features.

このコードが表示される場合

After issuing the STAT command without arguments, the server returns its system status and supported features.

解決方法

No fix needed — this is an informational response. Use the information to understand the server's capabilities and current state.

説明

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.

主な違い

1.

FTP 211: System status or system help reply. The server provides information about its current status or available features.

2.

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

3.

You encounter 211 when after issuing the STAT command without arguments, the server returns its system status and supported features.

4.

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

どちらをいつ使うか

For 211 (System Status): No fix needed — this is an informational response. Use the information to understand the server's capabilities and current state. 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.

詳しく見る