FTP 125 Data Connection Open vs 230 User Logged In
FTP 125 (Data Connection Open) is a 1xx Positive Preliminary response, while 230 (User Logged In) 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, 230 means that user logged in, proceed. The authentication was successful and the user has full access to the FTP server.
Описание
The data connection is already open and the transfer is beginning. No need to open a new data connection.
Когда вы это видите
When the server reuses an existing data connection for a file transfer instead of opening a new one.
Как исправить
No fix needed — the transfer is starting immediately. Your client should begin reading or writing data on the existing connection.
Описание
User logged in, proceed. The authentication was successful and the user has full access to the FTP server.
Когда вы это видите
After providing valid credentials with USER and PASS commands, or after anonymous login on servers that allow it.
Как исправить
No fix needed — you are authenticated. Proceed with CWD, LIST, RETR, STOR, or other file operations.
Ключевые различия
125 is a 1xx Positive Preliminary response, while 230 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 230: User logged in, proceed. The authentication was successful and the user has full access to the FTP server.
You encounter 125 when when the server reuses an existing data connection for a file transfer instead of opening a new one.
You encounter 230 when after providing valid credentials with USER and PASS commands, or after anonymous login on servers that allow it.
Когда что использовать
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 230 (User Logged In): No fix needed — you are authenticated. Proceed with CWD, LIST, RETR, STOR, or other file operations.