W3C home > Mailing lists > Public > public-webapps@w3.org > July to September 2009

Re: HTTP status code equivalents for file:// operations - compat with xhr

From: Arun Ranganathan <arun@mozilla.com>
Date: Tue, 18 Aug 2009 11:59:28 -0700
Message-ID: <4A8AFA10.7060901@mozilla.com>
To: "Michael A. Puls II" <shadow2531@gmail.com>
CC: public-webapps@w3.org
Michael A. Puls II wrote:
>
> Using filedata: and the FileAPI instead of file: with xhr, seems like 
> it'd work. However, how do you get a fileData object without <input 
> type="file">?
>
Whereas file:// gives you (sometimes constrained) access to the file 
system, including directories, etc., filedata: is tightly coupled to a 
single file, which the user has chosen.  Thus, you can't decouple the 
file selection process (which generates UI, via input type="file) from a 
given selected file's filedata: URL.  Early versions of the draft had a 
FileDialog interface, but this was controversial, and is not an active 
part of this draft.

-- A*
Received on Tuesday, 18 August 2009 19:00:10 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:33 GMT