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.

더 알아보기