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.
Here's a little HTML form that allows the user to select a file and upload it:This takes care of allowing a user to select a file from any directory. If you've ever attached a file to an e-mail in Hotmail or any other web e-mail program, they all use something like this only prettier.
Joined: Dec 07, 2006
Thanks for the sample code
what im trying to do is to let the user press a button, perhaps "select directory", and a pop up screen comes up and the user can select a directory where there are multiple files that the user wants to upload,
the html code is brilliant for a single file but what happens if there is multiple files in a directory that the user wants to upload?