FTP 214 Help Message vs 226 Closing Data Connection
Both FTP 214 (Help Message) and 226 (Closing Data Connection) belong to the 2xx Positive Completion category. 214 indicates that help message. The server provides information about its implementation status, including a list of recognized commands or help for a specific command. Meanwhile, 226 means that closing data connection. The requested file action was successful and the data connection is being closed.
説明
Help message. The server provides information about its implementation status, including a list of recognized commands or help for a specific command.
このコードが表示される場合
After issuing the HELP command. The server returns a list of supported commands or detailed usage for a specific command.
解決方法
No fix needed — this is an informational response. Use it to discover which commands the server supports.
説明
Closing data connection. The requested file action was successful and the data connection is being closed.
このコードが表示される場合
After a file transfer, directory listing, or other data operation completes successfully.
解決方法
No fix needed — the transfer completed successfully. The data connection is closed and a new one will be opened for the next transfer.
主な違い
FTP 214: Help message. The server provides information about its implementation status, including a list of recognized commands or help for a specific command.
FTP 226: Closing data connection. The requested file action was successful and the data connection is being closed.
You encounter 214 when after issuing the HELP command. The server returns a list of supported commands or detailed usage for a specific command.
You encounter 226 when after a file transfer, directory listing, or other data operation completes successfully.
どちらをいつ使うか
For 214 (Help Message): No fix needed — this is an informational response. Use it to discover which commands the server supports. For 226 (Closing Data Connection): No fix needed — the transfer completed successfully. The data connection is closed and a new one will be opened for the next transfer.