FTP

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).

Deskripsi

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

Ketika Anda Melihatnya

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

Cara Memperbaiki

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

Deskripsi

Entering Long Passive Mode. An extended version of passive mode that supports longer addresses, including IPv6. Largely superseded by EPSV (229).

Ketika Anda Melihatnya

After issuing the LPSV command on servers that support long addresses. Rarely seen in practice as EPSV is preferred.

Cara Memperbaiki

No fix needed, but consider using EPSV (Extended Passive Mode) instead, which is more widely supported and simpler to parse.

Perbedaan Utama

1.

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

2.

FTP 228: Entering Long Passive Mode. An extended version of passive mode that supports longer addresses, including IPv6. Largely superseded by EPSV (229).

3.

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.

4.

You encounter 228 when after issuing the LPSV command on servers that support long addresses. Rarely seen in practice as EPSV is preferred.

Kapan Menggunakan Yang Mana

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.

Pelajari Lebih Lanjut