FTP 125 Data Connection Open vs 150 File Status OK
Both FTP 125 (Data Connection Open) and 150 (File Status OK) belong to the 1xx Positive Preliminary category. 125 indicates that the data connection is already open and the transfer is beginning. No need to open a new data connection. Meanwhile, 150 means 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.
説明
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.
説明
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.
このコードが表示される場合
Right before a file download or upload begins, confirming the file is accessible and the data channel is being opened.
解決方法
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.
主な違い
FTP 125: The data connection is already open and the transfer is beginning. No need to open a new data connection.
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.
You encounter 125 when when the server reuses an existing data connection for a file transfer instead of opening a new one.
You encounter 150 when right before a file download or upload begins, confirming the file is accessible and the data channel is being opened.
どちらをいつ使うか
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 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.