FTP

FTP 215 System Type vs 553 File Name Not Allowed

FTP 215 (System Type) is a 2xx Positive Completion response, while 553 (File Name Not Allowed) is a 5xx Permanent Negative response. 215 indicates that the NAME system type, where NAME is an official system name from the list in the Assigned Numbers document. Reports the operating system of the server. 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.

Описание

The NAME system type, where NAME is an official system name from the list in the Assigned Numbers document. Reports the operating system of the server.

Когда вы это видите

After issuing the SYST command. The server reports its operating system type, commonly 'UNIX Type: L8' or 'Windows_NT'.

Как исправить

No fix needed — use this information to adjust path separators and line endings for the server's OS type.

Описание

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

Когда вы это видите

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.

Как исправить

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

Ключевые различия

1.

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

2.

FTP 215: The NAME system type, where NAME is an official system name from the list in the Assigned Numbers document. Reports the operating system of the server.

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 215 when after issuing the SYST command. The server reports its operating system type, commonly 'UNIX Type: L8' or 'Windows_NT'.

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.

Когда что использовать

For 215 (System Type): No fix needed — use this information to adjust path separators and line endings for the server's OS type. For 553 (File Name Not Allowed): Rename the file to use only allowed characters. Avoid special characters like ?, *, |, <, >, and leading/trailing spaces or dots.

Узнать больше