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.

विवरण

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

जब आप इसे देखें

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

कैसे ठीक करें

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

विवरण

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

कब किसका उपयोग करें

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.

और जानें