fileapi - HTML5 File API - availability and abilities -
i did reading on file api , i'm wondering when major browsers going support or supports already:
firefox, since 3.6 chrome, since 8.0
? opera, ie ?
is supposed successor/alternative of uploaders based on flash, plupload or sfwupload ? advantage , disadvantage of in case ?
is able reliably handle blobs (byte streams) / files when inputstreams read filereader, have same consistency native file load filesystem? mean encoding issues etc.
after user submits file, can freely use without restrictions javascript? instance save file variable , later send via xhr ?
i've read in specifications, i'd hear opinions of has experiences it. i'm implement complicated user interface , file api there way lesser work on server side...
but i'm not sure if should use or not because of ? opera, ie ?
i have no idea when/if ie support this, may forced public demand.
according spec blob
(raw data) 1 way read in file (http://www.w3.org/tr/fileapi/#dfn-blob).
once have data should able process it, shown in tutorial: https://developer.mozilla.org/en/using_files_from_web_applications, won't able write data back, need send server.
this replace flash uploaders, example, until vast majority of people use new browsers, or choose no longer support older browsers these other solutions around.
but, if want create cutting-edge page allows user drag-and-drop onto other <input>
tag of html5 apis helpful, shown here: http://robertnyman.com/2010/04/22/using-the-file-api-for-reading-file-information-multiple-file-uploads-another-sister-specification-to-html5/.
Comments
Post a Comment