FTP 220 Service Ready vs 350 File Action Pending
FTP 220 (Service Ready) is a 2xx Positive Completion response, while 350 (File Action Pending) is a 3xx Positive Intermediate response. 220 indicates that service ready for new user. This is the greeting message sent by the FTP server when a client first connects. In contrast, 350 means that requested file action pending further information. The server has accepted the first part of a two-step command and is waiting for the follow-up.
Описание
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 pending further information. The server has accepted the first part of a two-step command and is waiting for the follow-up.
Когда вы это видите
After issuing RNFR (rename from) to specify which file to rename. The server is waiting for the RNTO (rename to) command.
Как исправить
Send the follow-up command immediately — typically RNTO after RNFR, or REST followed by RETR for resumed transfers.
Ключевые различия
220 is a 2xx Positive Completion response, while 350 is a 3xx Positive Intermediate response.
FTP 220: Service ready for new user. This is the greeting message sent by the FTP server when a client first connects.
FTP 350: Requested file action pending further information. The server has accepted the first part of a two-step command and is waiting for the follow-up.
You encounter 220 when immediately upon connecting to an FTP server. This is the welcome banner confirming the server is accepting connections.
You encounter 350 when after issuing RNFR (rename from) to specify which file to rename. The server is waiting for the RNTO (rename to) command.
Когда что использовать
For 220 (Service Ready): No fix needed — the server is ready. Proceed with USER and PASS commands to authenticate. For 350 (File Action Pending): Send the follow-up command immediately — typically RNTO after RNFR, or REST followed by RETR for resumed transfers.