Upload file control in the generated task form

Hi,

I want to add a upload file control in the generated task form. Is this possible?

Does any one have a working example that I can refer to ?

you cannot do it with generated task forms. you have to use embedded forms:
https://docs.camunda.org/manual/7.7/reference/embedded-forms/controls/files/