This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
We all know to uplaod a file we use the input element of HTML with the type attribute set to "file" and we have to select a file, but I want to select just the directory (may be empty directoy) as a path to send it to the server.
Can any one help me to achieve this in HTML
I don't want the user to select a dummy file from the directory (chosen one) and to do some server side processing to remove the file and retrieve the path.
That's true I can provide an input text where the user can type the path, if the path is small that is fine but what if the path is too long (the desired location for the user to save a file) than it will not be a user friendly GUI so I need to make the user choose it dynamically like the way we choose the path to save a newly created notepad or a MS-word file, like this.