FTP

FTP 212 Directory Status vs 350 File Action Pending

FTP 212 (Directory Status) is a 2xx Positive Completion response, while 350 (File Action Pending) is a 3xx Positive Intermediate response. 212 indicates that directory status reply. The server provides information about the current directory or a specified directory. 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

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

Ketika Anda Melihatnya

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

Cara Memperbaiki

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

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.

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

2.

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

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 212 when after issuing the STAT command on a directory, the server returns the directory listing or status information.

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 212 (Directory Status): No fix needed — this is an informational response showing directory contents or status. 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