FTP

FTP 110 Restart Marker Reply vs 227 Entering Passive Mode

FTP 110 (Restart Marker Reply) is a 1xx Positive Preliminary response, while 227 (Entering 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, 227 means that entering Passive Mode. The server provides an IP address and port number for the client to connect to for data transfer, formatted as (h1,h2,h3,h4,p1,p2).

描述

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 Passive Mode. The server provides an IP address and port number for the client to connect to for data transfer, formatted as (h1,h2,h3,h4,p1,p2).

何时出现

After issuing the PASV command. The server switches to passive mode and tells the client where to connect for data transfer.

如何修复

No fix needed — parse the IP and port from the response to establish the data connection. If connections fail, check NAT/firewall rules on the passive port range.

主要区别

1.

110 is a 1xx Positive Preliminary response, while 227 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 227: Entering Passive Mode. The server provides an IP address and port number for the client to connect to for data transfer, formatted as (h1,h2,h3,h4,p1,p2).

4.

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

5.

You encounter 227 when after issuing the PASV command. The server switches to passive mode and tells the client where to connect for data transfer.

何时使用哪个

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 227 (Entering Passive Mode): No fix needed — parse the IP and port from the response to establish the data connection. If connections fail, check NAT/firewall rules on the passive port range.

了解更多