Weavely allows respondents to upload files of various formats while ensuring control over the file size and types. So, if you need to collect files from your respondents, you can use Weavely's File form element which is also very easy to configure.
From the Library in the plugin select a "File" form element. It will then appear in the Component Library on your left. Copy the File component from there and paste it to your form, or drag it from Figma's assets panel.
Configure the file upload options
It's all set! Now, publish your form.
That's how file upload works when the form is published to the web.