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.