Tuesday, 15 June 2010

file - Reading directory's contents using Javascript -


I have a text input box where the user enters a path to the directory I use in the javascript file API I want to get the names of all the files from that directory.

I was reading this article: and tried to execute the code under Reading the contents of the directory , but was unable to understand the code because we can not find the directory anywhere in the code The names are mentioned.

So, how can I complete my work?

As far as SPECS are related,

It is not possible to read the normal file system directory from the browser, upload button / flash etc.

The browser, however, can create a sandbox (in its user files) that appears as a directory structure that you can manipulate. This is useful for apps that need to be played with real files and need to be stored locally on the server rather than location.

Real life story

The filesystem APIs are supported, but dead specs which can get the route to its implementation if needed. The closest current functionality is


No comments:

Post a Comment