FTP

FTP 213 File Status vs 551 Page Type Unknown

FTP 213 (File Status) is a 2xx Positive Completion response, while 551 (Page Type Unknown) 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, 551 means that requested action aborted: page type unknown. The server does not recognize the requested page structure or format.

Deskripsi

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

Ketika Anda Melihatnya

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

Cara Memperbaiki

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

Deskripsi

Requested action aborted: page type unknown. The server does not recognize the requested page structure or format.

Ketika Anda Melihatnya

When attempting a transfer with a page structure type the server does not support. This is extremely rare in modern FTP usage.

Cara Memperbaiki

Switch to stream transfer mode (MODE S) and file structure (STRU F), which are universally supported by all FTP servers.

Perbedaan Utama

1.

213 is a 2xx Positive Completion response, while 551 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 551: Requested action aborted: page type unknown. The server does not recognize the requested page structure or format.

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 551 when when attempting a transfer with a page structure type the server does not support. This is extremely rare in modern FTP usage.

Kapan Menggunakan Yang Mana

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 551 (Page Type Unknown): Switch to stream transfer mode (MODE S) and file structure (STRU F), which are universally supported by all FTP servers.

Pelajari Lebih Lanjut