FTP

FTP 202 Command Superfluous vs 350 File Action Pending

FTP 202 (Command Superfluous) is a 2xx Positive Completion response, while 350 (File Action Pending) is a 3xx Positive Intermediate response. 202 indicates that the command is not implemented but is recognized as superfluous. The server acknowledges the command but it has no effect. 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.

설명

The command is not implemented but is recognized as superfluous. The server acknowledges the command but it has no effect.

이 코드를 보게 되는 경우

When you send a command the server recognizes but considers unnecessary, such as ALLO on a server that does not require pre-allocation.

해결 방법

No fix needed — the server is telling you the command is not necessary. You can safely ignore this response and continue.

설명

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.

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

2.

FTP 202: The command is not implemented but is recognized as superfluous. The server acknowledges the command but it has no effect.

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 202 when when you send a command the server recognizes but considers unnecessary, such as ALLO on a server that does not require pre-allocation.

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 202 (Command Superfluous): No fix needed — the server is telling you the command is not necessary. You can safely ignore this response and continue. For 350 (File Action Pending): Send the follow-up command immediately — typically RNTO after RNFR, or REST followed by RETR for resumed transfers.

더 알아보기