FTP 220 Service Ready vs 250 File Action OK
Both FTP 220 (Service Ready) and 250 (File Action OK) belong to the 2xx Positive Completion category. 220 indicates that service ready for new user. This is the greeting message sent by the FTP server when a client first connects. Meanwhile, 250 means that requested file action okay, completed. The operation on the file or directory was successful.
Описание
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.
Описание
Requested file action okay, completed. The operation on the file or directory was successful.
Когда вы это видите
After successfully changing directories (CWD), deleting a file (DELE), or renaming a file (RNTO).
Как исправить
No fix needed — the file operation completed successfully.
Ключевые различия
FTP 220: Service ready for new user. This is the greeting message sent by the FTP server when a client first connects.
FTP 250: Requested file action okay, completed. The operation on the file or directory was successful.
You encounter 220 when immediately upon connecting to an FTP server. This is the welcome banner confirming the server is accepting connections.
You encounter 250 when after successfully changing directories (CWD), deleting a file (DELE), or renaming a file (RNTO).
Когда что использовать
For 220 (Service Ready): No fix needed — the server is ready. Proceed with USER and PASS commands to authenticate. For 250 (File Action OK): No fix needed — the file operation completed successfully.