On Tue, 18 Aug 2009 14:59:28 -0400, Arun Ranganathan <a...@mozilla.com>
wrote:
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
file.
--
Michael