To upload a single file, it is very simple to use this HTML script:
<p> <input type="file" name="input.txt" />
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 开发者_StackOverflow社区any way to select a folder instead selecting a file in the input form. Thanks.
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.
精彩评论