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.
Beschreibung
File status reply. The server provides information about a specific file, typically its size or modification time.
Wann Sie es sehen
After issuing the SIZE or MDTM command, the server returns the file size in bytes or the last modification timestamp.
Wie man es behebt
No fix needed — this is an informational response. Use the returned data to determine file size before download or to check timestamps for synchronization.
Beschreibung
Command not implemented. The server recognizes the command but does not support it in its current configuration.
Wann Sie es sehen
When you use a valid FTP command that this particular server has not implemented, such as SITE or SMNT.
Wie man es behebt
Use an alternative command or approach. Check the server's FEAT response or HELP output to see which commands are actually supported.
Wesentliche Unterschiede
213 is a 2xx Positive Completion response, while 502 is a 5xx Permanent Negative response.
FTP 213: File status reply. The server provides information about a specific file, typically its size or modification time.
FTP 502: Command not implemented. The server recognizes the command but does not support it in its current configuration.
You encounter 213 when after issuing the SIZE or MDTM command, the server returns the file size in bytes or the last modification timestamp.
You encounter 502 when when you use a valid FTP command that this particular server has not implemented, such as SITE or SMNT.
Wann welchen verwenden
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.