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: Michael A. Puls II <shadow2531@gmail.com>
Date: Tue, 18 Aug 2009 15:03:26 -0400
To: arun@mozilla.com
Cc: public-webapps@w3.org
Message-ID: <op.uyvgj0ms1ejg13@sandra-svwliu01>
On Tue, 18 Aug 2009 14:59:28 -0400, Arun Ranganathan <arun@mozilla.com>  

> 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.

O.K. Thanks. fileadata: wouldn't work then if the user has to choose the  

Received on Tuesday, 18 August 2009 19:04:12 UTC

This archive was generated by hypermail 2.3.1 : Friday, 27 October 2017 07:26:18 UTC