FTP

FTP 150 File Status OK vs 229 Entering Extended Passive Mode

FTP 150 (File Status OK) is a 1xx Positive Preliminary response, while 229 (Entering Extended Passive Mode) is a 2xx Positive Completion response. 150 indicates that the file status is okay and the server is about to open the data connection for the transfer. This is the normal precursor to a file transfer. In contrast, 229 means that entering Extended Passive Mode. The server provides only a port number for the data connection, using the same IP as the control connection. Works with both IPv4 and IPv6.

Description

The file status is okay and the server is about to open the data connection for the transfer. This is the normal precursor to a file transfer.

When You See It

Right before a file download or upload begins, confirming the file is accessible and the data channel is being opened.

How to Fix

No fix needed — this means the transfer is about to start. If the transfer stalls after this reply, check firewall rules blocking the data connection.

Description

Entering Extended Passive Mode. The server provides only a port number for the data connection, using the same IP as the control connection. Works with both IPv4 and IPv6.

When You See It

After issuing the EPSV command. The server responds with a port number in the format (|||port|) for the client to connect to.

How to Fix

No fix needed — connect to the server's control IP on the provided port. If it fails, try falling back to PASV (227) or check firewall rules.

Key Differences

1.

150 is a 1xx Positive Preliminary response, while 229 is a 2xx Positive Completion response.

2.

FTP 150: The file status is okay and the server is about to open the data connection for the transfer. This is the normal precursor to a file transfer.

3.

FTP 229: Entering Extended Passive Mode. The server provides only a port number for the data connection, using the same IP as the control connection. Works with both IPv4 and IPv6.

4.

You encounter 150 when right before a file download or upload begins, confirming the file is accessible and the data channel is being opened.

5.

You encounter 229 when after issuing the EPSV command. The server responds with a port number in the format (|||port|) for the client to connect to.

When to Use Which

For 150 (File Status OK): No fix needed — this means the transfer is about to start. If the transfer stalls after this reply, check firewall rules blocking the data connection. For 229 (Entering Extended Passive Mode): No fix needed — connect to the server's control IP on the provided port. If it fails, try falling back to PASV (227) or check firewall rules.

Learn More