Skip to main content

4.3. Multiple Files for One Form Field

4.3. Multiple Files for One Form Field​

To supply multiple files for one form field, there are three possibilities:

  1. Include multiple instances of the same field name in the form with different values. This is the recommended approach.

  2. Use a Content-Type of "multipart/mixed" for a single form field that contains the multiple files. However, this approach is deprecated and SHOULD NOT be used for new implementations.

  3. Include multiple file names in one filename parameter, e.g., filename="file1.txt, file2.gif". However, such usage is non-standard and implementation support varies.