FTP

FTP 213 File Status vs 250 File Action OK

Both FTP 213 (File Status) and 250 (File Action OK) 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, 250 means that requested file action okay, completed. The operation on the file or directory was successful.

คำอธิบาย

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.

คำอธิบาย

Requested file action okay, completed. The operation on the file or directory was successful.

เมื่อคุณพบเห็น

After successfully changing directories (CWD), deleting a file (DELE), or renaming a file (RNTO).

วิธีแก้ไข

No fix needed — the file operation completed successfully.

ความแตกต่างหลัก

1.

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

2.

FTP 250: Requested file action okay, completed. The operation on the file or directory was successful.

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 250 when after successfully changing directories (CWD), deleting a file (DELE), or renaming a file (RNTO).

ควรใช้อันไหนเมื่อไร

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 250 (File Action OK): No fix needed — the file operation completed successfully.

เรียนรู้เพิ่มเติม