FTP

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.

Descripción

Directory status reply. The server provides information about the current directory or a specified directory.

Cuándo lo verás

After issuing the STAT command on a directory, the server returns the directory listing or status information.

Cómo solucionarlo

No fix needed — this is an informational response showing directory contents or status.

Descripción

Requested action not taken. File name not allowed. The file or directory name violates the server's naming rules or filesystem restrictions.

Cuándo lo verás

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.

Cómo solucionarlo

Rename the file to use only allowed characters. Avoid special characters like ?, *, |, <, >, and leading/trailing spaces or dots.

Diferencias clave

1.

212 is a 2xx Positive Completion response, while 553 is a 5xx Permanent Negative response.

2.

FTP 212: Directory status reply. The server provides information about the current directory or a specified directory.

3.

FTP 553: Requested action not taken. File name not allowed. The file or directory name violates the server's naming rules or filesystem restrictions.

4.

You encounter 212 when after issuing the STAT command on a directory, the server returns the directory listing or status information.

5.

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.

Cuándo usar cada uno

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.

Saber más