USE CASE:<div>Many sites allow you to upload multiple files, often images. HTML5 allows this via &lt;input type=&quot;file&quot; multiple&gt;. This works well when your files are all in one folder, but it may often be the case that files are spread across sub-folders, and in this case you have to do multiple transactions (or multiple &lt;input type=file multiple&gt; tags, which is just awkward) to upload your files.</div>
<div><br></div><div>PROPOSAL: Allow a UA to recursively select and upload a directory of files. How the UA chooses to modify the file picker dialog is outside the scope of this spec, but for the sake of argument, assume that the UA lets you pick a folder and say &quot;upload all&quot;. Allow the UA to upload the files in the folder, with the subdirectories included in the filename with a directory separator.</div>
<div><br></div><div>E.g. assume I have:</div><div><br></div><div>C:\users\ian\a\b\1.jpg</div><div>C:\users\ian\a\b\2.jpg</div><div>C:\users\ian\a\c\3.jpg</div><div><br></div><div>If the user chooses &quot;a&quot;, the UA should be allowed to send all three files with filenames:</div>
<div><br></div><div>&quot;a/b/1.jpg&quot;</div><div>&quot;a/b/2.jpg&quot;</div><div>&quot;a/c/3.jpg&quot;</div><div><br></div><div>as it would for the existing &lt;input type=file multiple&gt; implementation, with the addition of the directories and path separators (not full path, just the directory the user chose and sub-paths.)</div>
<div><br></div><div>Thoughts?</div>