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.

Описание

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

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

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

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

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

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

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.

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

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.

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