FTP 212 Directory Status vs 451 Local Error
FTP 212 (Directory Status) is a 2xx Positive Completion response, while 451 (Local Error) is a 4xx Transient Negative response. 212 indicates that directory status reply. The server provides information about the current directory or a specified directory. In contrast, 451 means that requested action aborted: local error in processing. The server encountered an unexpected error while trying to complete the command.
描述
Directory status reply. The server provides information about the current directory or a specified directory.
何时出现
After issuing the STAT command on a directory, the server returns the directory listing or status information.
如何修复
No fix needed — this is an informational response showing directory contents or status.
描述
Requested action aborted: local error in processing. The server encountered an unexpected error while trying to complete the command.
何时出现
When the server has an internal issue like a disk I/O error, memory shortage, or filesystem problem during command processing.
如何修复
Retry the command. If the error persists, contact the server administrator to check disk health, available memory, and server logs.
主要区别
212 is a 2xx Positive Completion response, while 451 is a 4xx Transient Negative response.
FTP 212: Directory status reply. The server provides information about the current directory or a specified directory.
FTP 451: Requested action aborted: local error in processing. The server encountered an unexpected error while trying to complete the command.
You encounter 212 when after issuing the STAT command on a directory, the server returns the directory listing or status information.
You encounter 451 when when the server has an internal issue like a disk I/O error, memory shortage, or filesystem problem during command processing.
何时使用哪个
For 212 (Directory Status): No fix needed — this is an informational response showing directory contents or status. For 451 (Local Error): Retry the command. If the error persists, contact the server administrator to check disk health, available memory, and server logs.