FTP 125 Data Connection Open vs 257 Pathname Created
Embed This Widget
Add the script tag and a data attribute to embed this widget.
Embed via iframe for maximum compatibility.
<iframe src="https://statuscodefyi.com/iframe/entity//" width="420" height="400" frameborder="0" style="border:0;border-radius:10px;max-width:100%" loading="lazy"></iframe>
Paste this URL in WordPress, Medium, or any oEmbed-compatible platform.
https://statuscodefyi.com/entity//
Add a dynamic SVG badge to your README or docs.
[](https://statuscodefyi.com/entity//)
Use the native HTML custom element.
FTP 125 (Data Connection Open) is a 1xx Positive Preliminary response, while 257 (Pathname Created) is a 2xx Positive Completion response. 125 indicates that the data connection is already open and the transfer is beginning. No need to open a new data connection. In contrast, 257 means that pathname created. The server confirms the creation of a new directory or reports the current working directory path.
Description
The data connection is already open and the transfer is beginning. No need to open a new data connection.
When You See It
When the server reuses an existing data connection for a file transfer instead of opening a new one.
How to Fix
No fix needed — the transfer is starting immediately. Your client should begin reading or writing data on the existing connection.
Description
Pathname created. The server confirms the creation of a new directory or reports the current working directory path.
When You See It
After issuing MKD to create a directory or PWD to print the current working directory. The path is enclosed in double quotes.
How to Fix
No fix needed — the directory was created or the current path was returned. Parse the quoted pathname from the response.
Key Differences
125 is a 1xx Positive Preliminary response, while 257 is a 2xx Positive Completion response.
FTP 125: The data connection is already open and the transfer is beginning. No need to open a new data connection.
FTP 257: Pathname created. The server confirms the creation of a new directory or reports the current working directory path.
You encounter 125 when when the server reuses an existing data connection for a file transfer instead of opening a new one.
You encounter 257 when after issuing MKD to create a directory or PWD to print the current working directory. The path is enclosed in double quotes.
When to Use Which
For 125 (Data Connection Open): No fix needed — the transfer is starting immediately. Your client should begin reading or writing data on the existing connection. For 257 (Pathname Created): No fix needed — the directory was created or the current path was returned. Parse the quoted pathname from the response.