FTP

FTP 202 Command Superfluous vs 421 Service Not Available

FTP 202 (Command Superfluous) is a 2xx Positive Completion response, while 421 (Service Not Available) is a 4xx Transient Negative 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, 421 means that service not available, closing control connection. The server is shutting down or has reached its connection limit and cannot serve this request.

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.

Description

Service not available, closing control connection. The server is shutting down or has reached its connection limit and cannot serve this request.

When You See It

When the FTP server is overloaded, shutting down for maintenance, or has reached its maximum number of concurrent connections.

How to Fix

Wait a few minutes and try reconnecting. If persistent, check if the server has a connection limit and whether your IP is being rate-limited.

Key Differences

1.

202 is a 2xx Positive Completion response, while 421 is a 4xx Transient Negative 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 421: Service not available, closing control connection. The server is shutting down or has reached its connection limit and cannot serve this request.

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 421 when when the FTP server is overloaded, shutting down for maintenance, or has reached its maximum number of concurrent connections.

When to Use Which

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 421 (Service Not Available): Wait a few minutes and try reconnecting. If persistent, check if the server has a connection limit and whether your IP is being rate-limited.

Learn More