FTP 202 Command Superfluous vs 228 Entering Long Passive Mode
Both FTP 202 (Command Superfluous) and 228 (Entering Long Passive Mode) belong to the 2xx Positive Completion category. 202 indicates that the command is not implemented but is recognized as superfluous. The server acknowledges the command but it has no effect. Meanwhile, 228 means that entering Long Passive Mode. An extended version of passive mode that supports longer addresses, including IPv6. Largely superseded by EPSV (229).
विवरण
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.
विवरण
Entering Long Passive Mode. An extended version of passive mode that supports longer addresses, including IPv6. Largely superseded by EPSV (229).
जब आप इसे देखें
After issuing the LPSV command on servers that support long addresses. Rarely seen in practice as EPSV is preferred.
कैसे ठीक करें
No fix needed, but consider using EPSV (Extended Passive Mode) instead, which is more widely supported and simpler to parse.
मुख्य अंतर
FTP 202: The command is not implemented but is recognized as superfluous. The server acknowledges the command but it has no effect.
FTP 228: Entering Long Passive Mode. An extended version of passive mode that supports longer addresses, including IPv6. Largely superseded by EPSV (229).
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.
You encounter 228 when after issuing the LPSV command on servers that support long addresses. Rarely seen in practice as EPSV is preferred.
कब किसका उपयोग करें
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 228 (Entering Long Passive Mode): No fix needed, but consider using EPSV (Extended Passive Mode) instead, which is more widely supported and simpler to parse.