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.

Mô tả

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

Khi bạn thấy mã này

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

Cách khắc phục

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

Mô tả

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

Khi bạn thấy mã này

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

Cách khắc phục

No fix needed — the file operation completed successfully.

Sự khác biệt chính

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).

Khi nào dùng cái nào

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.

Tìm hiểu thêm