FTP 150 File Status OK vs 426 Connection Closed
FTP 150 (File Status OK) is a 1xx Positive Preliminary response, while 426 (Connection Closed) is a 4xx Transient Negative response. 150 indicates 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. In contrast, 426 means that connection closed; transfer aborted. The data connection was closed unexpectedly during a file transfer.
説明
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.
説明
Connection closed; transfer aborted. The data connection was closed unexpectedly during a file transfer.
このコードが表示される場合
When a file transfer is interrupted due to a network timeout, client disconnect, or the data connection dropping mid-transfer.
解決方法
Retry the transfer. If it keeps failing, check network stability, increase timeout values, and verify there are no firewalls killing idle connections.
主な違い
150 is a 1xx Positive Preliminary response, while 426 is a 4xx Transient Negative response.
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.
FTP 426: Connection closed; transfer aborted. The data connection was closed unexpectedly during a file transfer.
You encounter 150 when right before a file download or upload begins, confirming the file is accessible and the data channel is being opened.
You encounter 426 when when a file transfer is interrupted due to a network timeout, client disconnect, or the data connection dropping mid-transfer.
どちらをいつ使うか
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. For 426 (Connection Closed): Retry the transfer. If it keeps failing, check network stability, increase timeout values, and verify there are no firewalls killing idle connections.