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.
Descrição
Service ready for new user. This is the greeting message sent by the FTP server when a client first connects.
Quando você o vê
Immediately upon connecting to an FTP server. This is the welcome banner confirming the server is accepting connections.
Como corrigir
No fix needed — the server is ready. Proceed with USER and PASS commands to authenticate.
Descrição
Requested file action okay, completed. The operation on the file or directory was successful.
Quando você o vê
After successfully changing directories (CWD), deleting a file (DELE), or renaming a file (RNTO).
Como corrigir
No fix needed — the file operation completed successfully.
Diferenças principais
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).
Quando usar qual
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.