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.
Description
Directory status reply. The server provides information about the current directory or a specified directory.
Quand vous le voyez
After issuing the STAT command on a directory, the server returns the directory listing or status information.
Comment résoudre
No fix needed — this is an informational response showing directory contents or status.
Description
Requested action not taken. File name not allowed. The file or directory name violates the server's naming rules or filesystem restrictions.
Quand vous le voyez
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.
Comment résoudre
Rename the file to use only allowed characters. Avoid special characters like ?, *, |, <, >, and leading/trailing spaces or dots.
Différences clés
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.
Quand utiliser lequel
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.