Now my question is: can...">

How to take a folder as input in html?

If I want to take the file as input in HTML, I will use

<input type="file">

Now my question is: can I take the whole directory as input, if so, how to do it?

+5
source share
4 answers

Not explicitly via HTML (although I'm not sure about HTML 5). To do this, you need a Java applet or Flash movie. One way to do this is to use a custom PHP script that takes a zip or tar file and unpacks it on the back panel and then unloads it.

+5
source

Short answer: No, this is not possible.

- Java, ActiveX Flash ( , , ).

+5

AFAIK . . , - .

+3

, ZIP- tar <input type=FILE /> - javascript, ..

Java-, ActiveX Flash -, Jupload ( ... )

.

, .

+2

All Articles