0
I need to put a input
where the user selects the folder he wants to save the notes, but only select.
I tried to do it this way:
<input asp-for="Caminho" class="form-control" type="file" multiple webkitdirectory id="pasta">
But he shows up to do upload
And when I do so:
<input asp-for="Caminho" class="form-control" type="file" id="pasta">
It appears to select a file, not a folder. Is there any way I can select the folder and get the way ?
EDIT
I just need to select the folder, only to make it easy for the user, so it doesn’t need to type the path in hand. Some way to do it?
I cannot give an Agra answer... but see here: https://stackoverflow.com/questions/12942436/how-to-get-folder-directory-from-html-type-file-or-any-other-way
– Barbetta
@Barbetta of this link you gave me I tried, but he tells me to upload, not select the folder. I just wanted to select the folder, so that the user does not need to type, selecting this way, becomes more dynamic.
– Mariana