[whatwg] Uploading directories of files
Ian Fette (イアンフェッティ)
ifette at google.com
Sun Dec 13 15:54:17 PST 2009
2009/12/11 Anne van Kesteren <annevk at opera.com>
> On Fri, 11 Dec 2009 15:24:37 +0100, Ian Fette (イアンフェッティ) <
> ifette at google.com> wrote:
>> Ok, I sense resistance to putting it in .name. What about .path, undefined
>> in most cases except where there is an upload including files from
>> directories, in which case .path contains the path less any path
>> common to all 3 (sorry, it's early morning and I can't write well before
>> having coffee).
>> (Need to figure out the exact wording, as "a" is common to all 3 but if
>> you're uploading the entire directory "a", it may make sense to include
>> in the path -- but I don't feel quite as strongly about that -- subfolders
>> are certainly more important IMO.)
> Note that extensions to File should be discussed on public-webapps at w3.org.
> At least, that's where they have been so far.
Anne -- happy to move the File related discussion to public-webapps at . For
the sake of wrapping up this thread though, are there there any changes that
would need to be made to the HTML spec to allow this behavior (including
limited path information in the name that gets sent when the form is
posted?) I can't seem to find the actual part of the spec that defines or
restricts what characters are valid in context.
> Anne van Kesteren
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the whatwg