FTP 125 Data Connection Open vs 213 File Status
FTP 125 (Data Connection Open) is a 1xx Positive Preliminary response, while 213 (File Status) 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, 213 means that file status reply. The server provides information about a specific file, typically its size or modification time.
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
File status reply. The server provides information about a specific file, typically its size or modification time.
When You See It
After issuing the SIZE or MDTM command, the server returns the file size in bytes or the last modification timestamp.
How to Fix
No fix needed — this is an informational response. Use the returned data to determine file size before download or to check timestamps for synchronization.
Key Differences
125 is a 1xx Positive Preliminary response, while 213 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 213: File status reply. The server provides information about a specific file, typically its size or modification time.
You encounter 125 when when the server reuses an existing data connection for a file transfer instead of opening a new one.
You encounter 213 when after issuing the SIZE or MDTM command, the server returns the file size in bytes or the last modification timestamp.
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 213 (File Status): No fix needed — this is an informational response. Use the returned data to determine file size before download or to check timestamps for synchronization.