开发者

Create an upload form, select a folder and get a specific file in folder

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 开发者_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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜