<div class="gmail_quote">On Sat, Apr 24, 2010 at 9:49 AM, Jonas Sicking <span dir="ltr"><jonas@sicking.cc></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<div class="im">On Thu, Apr 22, 2010 at 3:37 PM, John Gregg <<a href="mailto:johnnyg@google.com">johnnyg@google.com</a>> wrote:<br>
> The use case is not about choosing a directory for some browser<br>
> functionality, it is really about choosing a directory that you want<br>
> to upload to a web page, such as a collection of photo albums.<br>
><br>
>  -John<br>
><br>
> From Ian Fette's original email<br>
> (<a href="http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-December/024455.html" target="_blank">http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-December/024455.html</a>):<br>
><br>
> USE CASE:<br>
> Many sites allow you to upload multiple files, often images. HTML5 allows<br>
> this via <input type="file" multiple>. This works well when your files are<br>
> all in one folder, but it may often be the case that files are spread across<br>
> sub-folders, and in this case you have to do multiple transactions (or<br>
> multiple <input type=file multiple> tags, which is just awkward) to upload<br>
> your files.<br>
<br>
</div>You can do this without any changes to the spec. The fact that chrome<br>
only allows files from a single folder to be selected is not a<br>
limitation imposed by the spec.<br>
<br>
In fact, we've talked at mozilla about improving the UI around <input<br>
type=file>, and better handling of multiple selected files is high up<br>
on that list.</blockquote><div><br></div><div>What do you do when there are multiple files with the same name?</div><div><br></div><div>Also, I do believe the ability to upload a whole directory is important for some good use-cases, e.g. upload a directory of photos to a photo site while maintaing directory structure.</div>

<div><br></div><div>Ojan</div></div>