How to make select folder in yii2?

There are fileInput - file download. And there are something like folderInput? To return the path to the selected folder

UPD: we Need this in order to just save the path to these folders in the database. Then these paths will be passed parameters binary files using exec, but the app on yii already will work with the response (in the console).
Of course you can just text fields do (the way copy-paste to paste) and not to be perverted, but I want a beauty :)
July 9th 19 at 10:34
1 answer
July 9th 19 at 10:36
To download large number of files it is convenient to use www.dropzonejs.com
Here's an example Google drive can load folders. Dropzonejs and the like can not. - Juana95 commented on July 9th 19 at 10:39
: Is able - Henderson_Beat commented on July 9th 19 at 10:42
: Drag the folder and all files from it sargossa - Henderson_Beat commented on July 9th 19 at 10:45
: A FF will be able to? There seems to be the question solely to the browser. And be able this plugin to save the hierarchy? Google drive can. - Juana95 commented on July 9th 19 at 10:48
: No hierarchy impossible to maintain using js. Google drive is You have on your computer, unlike Your website which will not have access to paths on the computer of the user. - Henderson_Beat commented on July 9th 19 at 10:51
Download files not needed. But if I had to,I would use this widget https://github.com/kartik-v/yii2-widget-fileinput - Cristopher_Gulgowski39 commented on July 9th 19 at 10:54
: don't Google drive we computer. exclusively from the browser he is able to do. even additions not installed - Juana95 commented on July 9th 19 at 10:57
: According to my information, it's impossible. Can handle this write, very interesting - Henderson_Beat commented on July 9th 19 at 11:00
: The Kartik all widgets are good except this one. Especially in the areas of validation, such as a mandatory field. So moved with his hand wraper to the dropzone or have recently started using 2amigos/yii2-file-input-widget - Henderson_Beat commented on July 9th 19 at 11:03
: Try it out. If you will understand, I will write of course! - Juana95 commented on July 9th 19 at 11:06

Find more questions by tags YiiPHP