FTP

FTP 213 File Status vs 350 File Action Pending

FTP 213 (File Status) is a 2xx Positive Completion response, while 350 (File Action Pending) is a 3xx Positive Intermediate response. 213 indicates that file status reply. The server provides information about a specific file, typically its size or modification time. In contrast, 350 means that requested file action pending further information. The server has accepted the first part of a two-step command and is waiting for the follow-up.

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 file action pending further information. The server has accepted the first part of a two-step command and is waiting for the follow-up.

Ketika Anda Melihatnya

After issuing RNFR (rename from) to specify which file to rename. The server is waiting for the RNTO (rename to) command.

Cara Memperbaiki

Send the follow-up command immediately — typically RNTO after RNFR, or REST followed by RETR for resumed transfers.

Perbedaan Utama

1.

213 is a 2xx Positive Completion response, while 350 is a 3xx Positive Intermediate response.

2.

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

3.

FTP 350: Requested file action pending further information. The server has accepted the first part of a two-step command and is waiting for the follow-up.

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 350 when after issuing RNFR (rename from) to specify which file to rename. The server is waiting for the RNTO (rename to) command.

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 350 (File Action Pending): Send the follow-up command immediately — typically RNTO after RNFR, or REST followed by RETR for resumed transfers.

Pelajari Lebih Lanjut