FTP

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.

Ключевые различия

1.

FTP 214: Help message. The server provides information about its implementation status, including a list of recognized commands or help for a specific command.

2.

FTP 226: Closing data connection. The requested file action was successful and the data connection is being closed.

3.

You encounter 214 when after issuing the HELP command. The server returns a list of supported commands or detailed usage for a specific command.

4.

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.

Узнать больше