FTP

FTP 213 File Status vs 502 Command Not Implemented

FTP 213 (File Status) is a 2xx Positive Completion response, while 502 (Command Not Implemented) is a 5xx Permanent Negative response. 213 indicates that file status reply. The server provides information about a specific file, typically its size or modification time. In contrast, 502 means that command not implemented. The server recognizes the command but does not support it in its current configuration.

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.

Description

Command not implemented. The server recognizes the command but does not support it in its current configuration.

Quand vous le voyez

When you use a valid FTP command that this particular server has not implemented, such as SITE or SMNT.

Comment résoudre

Use an alternative command or approach. Check the server's FEAT response or HELP output to see which commands are actually supported.

Différences clés

1.

213 is a 2xx Positive Completion response, while 502 is a 5xx Permanent Negative response.

2.

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

3.

FTP 502: Command not implemented. The server recognizes the command but does not support it in its current configuration.

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.

5.

You encounter 502 when when you use a valid FTP command that this particular server has not implemented, such as SITE or SMNT.

Quand utiliser lequel

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 502 (Command Not Implemented): Use an alternative command or approach. Check the server's FEAT response or HELP output to see which commands are actually supported.

En savoir plus