Accessing contents of a file in a web-application without uploading.

Posted by UniCoder on Stack Overflow See other posts from Stack Overflow or by UniCoder
Published on 2010-06-14T03:35:31Z Indexed on 2010/06/14 3:42 UTC
Read the original article Hit count: 226

As far as I can tell, it is impossible to access the content of files on the user's computer in a web application without first uploading to the server, then re-downloading to user, unless some sort of plug-in is used. (Flash, etc.) Ideally, the user would upload the file directly to localstorage and then scripts would have a chance to process/display/validate/filter without the user having to wait on an upload.

Are there any features in upcoming web standards such as html5 that will allow this? If not, why has there been no effort to make this possible, and how can I work around it without getting stuck with plugins?

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about web-applications