tags:

views:

40

answers:

1

Hi, To upload a single file, it is very simple to use this HTML script: <p> <input type="file" name="input.txt" />
In this question, my task is to select a folder and then get the input.txt inside that folder. The server will response whether input.txt is available or not and to upload it to web server.

Is there any way to select a folder instead selecting a file in the input form. Thanks.

+1  A: 

You can't use HTML to select folder. However, you can use Java applet, Flash or other similar technologies in order to show folder selection dialog in your page.

Michael
Thanks, I find a way to use activeX object to insert in the html page : http://www.tek-tips.com/faqs.cfm?fid=5201
aladine