[whatwg] input type=upload (not just files) proposal

Eitan Adler lists at eitanadler.com
Tue Jun 8 07:32:42 PDT 2010

A lot of websites let you upload either from a file on your hard drive
or from a link on the web.
Most of the time this is done by having two different inputs: One for
a file and the other for a URL.

If there were some type of input like "upload' which will allow for
any complete input.
Something like

It would then be the server's job to fetch the file unless the user
passed it a file:// scheme it which case the file would be provided by
the UI.

Eitan Adler

More information about the whatwg mailing list