FTP 150 File Status OK vs 350 File Action Pending
FTP 150 (File Status OK) is a 1xx Positive Preliminary response, while 350 (File Action Pending) is a 3xx Positive Intermediate 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, 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.
描述
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.
描述
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.
主要区别
150 is a 1xx Positive Preliminary response, while 350 is a 3xx Positive Intermediate 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 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 150 when right before a file download or upload begins, confirming the file is accessible and the data channel is being opened.
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 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 350 (File Action Pending): Send the follow-up command immediately — typically RNTO after RNFR, or REST followed by RETR for resumed transfers.