FTP

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.

Description

The data connection is already open and the transfer is beginning. No need to open a new data connection.

When You See It

When the server reuses an existing data connection for a file transfer instead of opening a new one.

How to Fix

No fix needed — the transfer is starting immediately. Your client should begin reading or writing data on the existing connection.

Description

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

When You See It

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

How to Fix

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

Key Differences

1.

125 is a 1xx Positive Preliminary response, while 202 is a 2xx Positive Completion response.

2.

FTP 125: The data connection is already open and the transfer is beginning. No need to open a new data connection.

3.

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

4.

You encounter 125 when when the server reuses an existing data connection for a file transfer instead of opening a new one.

5.

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.

When to Use Which

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.

Learn More