[whatwg] input type=upload (not just files) proposal
lists at eitanadler.com
Tue Jun 8 09:10:15 PDT 2010
> My understanding of the proposal is that given this particular control, the
> browser would provide an interface for either selecting a local file or
> entering a URL. If a file is selected, the file is uploaded as normal,
> equivalent to <input type="file" name="foo">.
> Otherwise, if a URL is entered, the field is instead submitted as text,
> equivalent to <input type="url" name="foo">.
> The server would then determine whether the "foo" field that was submitted
> was a file upload or a text field value, and if it were a text field, then
> it would supposedly be treated as a URL that should then be fetched.
> Eitan, have I understood your proposal correctly?
Yes - exactly.
More information about the whatwg