FTP 150 File Status OK vs 220 Service Ready
FTP 150 (File Status OK) is a 1xx Positive Preliminary response, while 220 (Service Ready) is a 2xx Positive Completion 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, 220 means that service ready for new user. This is the greeting message sent by the FTP server when a client first connects.
説明
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.
説明
Service ready for new user. This is the greeting message sent by the FTP server when a client first connects.
このコードが表示される場合
Immediately upon connecting to an FTP server. This is the welcome banner confirming the server is accepting connections.
解決方法
No fix needed — the server is ready. Proceed with USER and PASS commands to authenticate.
主な違い
150 is a 1xx Positive Preliminary response, while 220 is a 2xx Positive Completion 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 220: Service ready for new user. This is the greeting message sent by the FTP server when a client first connects.
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 220 when immediately upon connecting to an FTP server. This is the welcome banner confirming the server is accepting connections.
どちらをいつ使うか
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 220 (Service Ready): No fix needed — the server is ready. Proceed with USER and PASS commands to authenticate.