FTP

FTP 110 Restart Marker Reply vs 228 Entering Long Passive Mode

FTP 110 (Restart Marker Reply) is a 1xx Positive Preliminary response, while 228 (Entering Long Passive Mode) is a 2xx Positive Completion response. 110 indicates that the server is sending a restart marker reply. The text is exact and not left to interpretation. This marker is used to indicate the point at which a file transfer should be restarted. In contrast, 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 server is sending a restart marker reply. The text is exact and not left to interpretation. This marker is used to indicate the point at which a file transfer should be restarted.

何时出现

During a resumed file transfer when the server confirms the restart position in the data stream.

如何修复

No fix needed — this is a normal response during transfer recovery. If restarts keep failing, verify the marker format matches what your client expects.

描述

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.

主要区别

1.

110 is a 1xx Positive Preliminary response, while 228 is a 2xx Positive Completion response.

2.

FTP 110: The server is sending a restart marker reply. The text is exact and not left to interpretation. This marker is used to indicate the point at which a file transfer should be restarted.

3.

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

4.

You encounter 110 when during a resumed file transfer when the server confirms the restart position in the data stream.

5.

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

何时使用哪个

For 110 (Restart Marker Reply): No fix needed — this is a normal response during transfer recovery. If restarts keep failing, verify the marker format matches what your client expects. 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.

了解更多