FTP 125 Data Connection Open vs 202 Command Superfluous
FTP 125 (Data Connection Open) is a 1xx Positive Preliminary response, while 202 (Command Superfluous) is a 2xx Positive Completion response. 125 indicates that the data connection is already open and the transfer is beginning. No need to open a new data connection. In contrast, 202 means that the command is not implemented but is recognized as superfluous. The server acknowledges the command but it has no effect.
Descrição
The data connection is already open and the transfer is beginning. No need to open a new data connection.
Quando você o vê
When the server reuses an existing data connection for a file transfer instead of opening a new one.
Como corrigir
No fix needed — the transfer is starting immediately. Your client should begin reading or writing data on the existing connection.
Descrição
The command is not implemented but is recognized as superfluous. The server acknowledges the command but it has no effect.
Quando você o vê
When you send a command the server recognizes but considers unnecessary, such as ALLO on a server that does not require pre-allocation.
Como corrigir
No fix needed — the server is telling you the command is not necessary. You can safely ignore this response and continue.
Diferenças principais
125 is a 1xx Positive Preliminary response, while 202 is a 2xx Positive Completion response.
FTP 125: The data connection is already open and the transfer is beginning. No need to open a new data connection.
FTP 202: The command is not implemented but is recognized as superfluous. The server acknowledges the command but it has no effect.
You encounter 125 when when the server reuses an existing data connection for a file transfer instead of opening a new one.
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.
Quando usar qual
For 125 (Data Connection Open): No fix needed — the transfer is starting immediately. Your client should begin reading or writing data on the existing connection. 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.