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.

Description

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

When You See It

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

How to Fix

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

Description

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

When You See It

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

How to Fix

No fix needed — the file operation completed successfully.

Key Differences

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

When to Use Which

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.

Learn More