W3C home > Mailing lists > Public > whatwg@whatwg.org > October 2006

[whatwg] WF2 clarification request: File upload controls

From: Gervase Markham <gerv@mozilla.org>
Date: Mon, 02 Oct 2006 10:22:30 +0100
Message-ID: <4520DA56.7070201@mozilla.org>
Alex Vincent wrote:
> In the past, user agents have allowed file upload controls to
> reference files not local to the computer in question.  For validity
> purposes, I wonder if this should still be allowed under Web Forms
> 2.0.

I don't think you could forbid it; this is a feature that people use,
and it would be a restriction that they wouldn't understand. "Why can't
I upload this file from my personal documents directory on the company
file server?"

> Allowing remote values in the file upload control could be a
> performance hit via networking, since we'd have to verify the file
> exists before saying valueMissing is false...

Another option would be to say that for file upload controls, this
value/event is a) asynchronous and b) optional for user agents.
(Optional also meaning they could fire it for some paths and not
others.) In this case, behaviour would revert to the WF 1.0 behaviour.

Received on Monday, 2 October 2006 02:22:30 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:48 UTC