Even using a server side sripting language, you wont be able to grab everything in a folder on a user's computer from an HTML/browser page.
Those 'input = file' forms don't give the server any filesystem access; when you press 'submit' the browser finds the file, encodes it according to the form enctype and sends it to the server as (usually) a POST request.
The only way to do it would be write a control or application FOR THE CLIENT'S browser or computer, which they would then have to accept and install.
Yes you are correct, but my requirement is ,
1) In an html form I'm getting the local hard drive location in one field
2) In other field getting the name of the file
once the users submits the form.It creates an Excel sheet from the database and store it the location given by the user, with the file name they mentioned.
So , to get the particular location of the folder I'm using the input type=file tag.But I want it like ,instead of selecting a file,want to select a folder.I had seen some desktop projects like this, for example "Install creator" when you install an application ,it will ask for the location to install the software.
But I knew that in web application there is no need for those things ,anyway I would to implement this issue in my web based desktop project.Suggest me an idea, how it can be done?
Thanks,