FTP

FTP 200 Command OK vs 213 File Status

Both FTP 200 (Command OK) and 213 (File Status) belong to the 2xx Positive Completion category. 200 indicates that the command has been successfully executed. This is a general acknowledgment that the command was understood and carried out. Meanwhile, 213 means that file status reply. The server provides information about a specific file, typically its size or modification time.

Description

The command has been successfully executed. This is a general acknowledgment that the command was understood and carried out.

Quand vous le voyez

After issuing any command that completes successfully, such as TYPE, MODE, or NOOP.

Comment résoudre

No fix needed — the command succeeded. This is the standard positive response for commands that don't return data.

Description

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

Quand vous le voyez

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

Comment résoudre

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

Différences clés

1.

FTP 200: The command has been successfully executed. This is a general acknowledgment that the command was understood and carried out.

2.

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

3.

You encounter 200 when after issuing any command that completes successfully, such as TYPE, MODE, or NOOP.

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.

Quand utiliser lequel

For 200 (Command OK): No fix needed — the command succeeded. This is the standard positive response for commands that don't return data. 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.

En savoir plus