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.
Descrição
File status reply. The server provides information about a specific file, typically its size or modification time.
Quando você o vê
After issuing the SIZE or MDTM command, the server returns the file size in bytes or the last modification timestamp.
Como corrigir
No fix needed — this is an informational response. Use the returned data to determine file size before download or to check timestamps for synchronization.
Descrição
Requested file action okay, completed. The operation on the file or directory was successful.
Quando você o vê
After successfully changing directories (CWD), deleting a file (DELE), or renaming a file (RNTO).
Como corrigir
No fix needed — the file operation completed successfully.
Diferenças principais
FTP 213: File status reply. The server provides information about a specific file, typically its size or modification time.
FTP 250: Requested file action okay, completed. The operation on the file or directory was successful.
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 250 when after successfully changing directories (CWD), deleting a file (DELE), or renaming a file (RNTO).
Quando usar qual
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.