FTP

FTP 213 File Status vs 553 File Name Not Allowed

FTP 213 (File Status) is a 2xx Positive Completion response, while 553 (File Name Not Allowed) is a 5xx Permanent Negative response. 213 indicates that file status reply. The server provides information about a specific file, typically its size or modification time. 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.

คำอธิบาย

File status reply. The server provides information about a specific file, typically its size or modification time.

เมื่อคุณพบเห็น

After issuing the SIZE or MDTM command, the server returns the file size in bytes or the last modification timestamp.

วิธีแก้ไข

No fix needed — this is an informational response. Use the returned data to determine file size before download or to check timestamps for synchronization.

คำอธิบาย

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.

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

2.

FTP 213: File status reply. The server provides information about a specific file, typically its size or modification time.

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 213 when after issuing the SIZE or MDTM command, the server returns the file size in bytes or the last modification timestamp.

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 213 (File Status): No fix needed — this is an informational response. Use the returned data to determine file size before download or to check timestamps for synchronization. For 553 (File Name Not Allowed): Rename the file to use only allowed characters. Avoid special characters like ?, *, |, <, >, and leading/trailing spaces or dots.

เรียนรู้เพิ่มเติม