FTP 213 File Status vs 550 File Unavailable
FTP 213 (File Status) is a 2xx Positive Completion response, while 550 (File Unavailable) 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, 550 means that requested action not taken. File unavailable — the file does not exist, the path is wrong, or you do not have permission to access it.
描述
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.
描述
Requested action not taken. File unavailable — the file does not exist, the path is wrong, or you do not have permission to access it.
何时出现
When you try to download, delete, or navigate to a file or directory that does not exist or is restricted by server permissions.
如何修复
Verify the file path and name are correct (FTP paths are case-sensitive on most servers). Check your user permissions with the server administrator.
主要区别
213 is a 2xx Positive Completion response, while 550 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 550: Requested action not taken. File unavailable — the file does not exist, the path is wrong, or you do not have permission to access it.
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 550 when when you try to download, delete, or navigate to a file or directory that does not exist or is restricted by server permissions.
何时使用哪个
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 550 (File Unavailable): Verify the file path and name are correct (FTP paths are case-sensitive on most servers). Check your user permissions with the server administrator.