W3C home > Mailing lists > Public > whatwg@whatwg.org > June 2010

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

From: Eitan Adler <lists@eitanadler.com>
Date: Tue, 8 Jun 2010 17:32:42 +0300
Message-ID: <AANLkTilDDjCRlEjjfASIdij1jLuaHC-ai_SLBJ_iP8sn@mail.gmail.com>
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
file:///home/eitan/file_to_upload.pdf
or
http://example.com/file.pdf
or
ftp://user:password at example.com/file.pdf

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
Received on Tuesday, 8 June 2010 07:32:42 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:24 UTC