Can I have a file field in the input form?

I need to be able to automatically upload a file and some related data to my Yesod server. I thought the best way to do this is to use input forms.

However, input formats do not seem to allow file fields.

  • Am I right or is there a way to use fileAFormReq in the input form?
  • If there is no such way, then what is the best strategy (as well as how to allow the server to accept files that are sent using a script from another machine, without the real need to display the form at any point)?

Thank,

+5
source share
2 answers
+1

<input type="file" />, , ?

0

All Articles