FTP 212 Directory Status vs 553 File Name Not Allowed
FTP 212 (Directory Status) is a 2xx Positive Completion response, while 553 (File Name Not Allowed) is a 5xx Permanent Negative response. 212 indicates that directory status reply. The server provides information about the current directory or a specified directory. In contrast, 553 means that requested action not taken. File name not allowed. The file or directory name violates the server's naming rules or filesystem restrictions.
Descrição
Directory status reply. The server provides information about the current directory or a specified directory.
Quando você o vê
After issuing the STAT command on a directory, the server returns the directory listing or status information.
Como corrigir
No fix needed — this is an informational response showing directory contents or status.
Descrição
Requested action not taken. File name not allowed. The file or directory name violates the server's naming rules or filesystem restrictions.
Quando você o vê
When you try to create or rename a file with characters the server's filesystem does not allow, such as special characters or reserved names.
Como corrigir
Rename the file to use only allowed characters. Avoid special characters like ?, *, |, <, >, and leading/trailing spaces or dots.
Diferenças principais
212 is a 2xx Positive Completion response, while 553 is a 5xx Permanent Negative response.
FTP 212: Directory status reply. The server provides information about the current directory or a specified directory.
FTP 553: Requested action not taken. File name not allowed. The file or directory name violates the server's naming rules or filesystem restrictions.
You encounter 212 when after issuing the STAT command on a directory, the server returns the directory listing or status information.
You encounter 553 when when you try to create or rename a file with characters the server's filesystem does not allow, such as special characters or reserved names.
Quando usar qual
For 212 (Directory Status): No fix needed — this is an informational response showing directory contents or status. For 553 (File Name Not Allowed): Rename the file to use only allowed characters. Avoid special characters like ?, *, |, <, >, and leading/trailing spaces or dots.