I'm looking for a way to recursively search over a folder (exploring directory and subdirectories) for files to be uploaded with AngularJS Upload, but the important thing is to en-list the files and search in a local folder. That is, a function that returns in an array, for example, the mp3 files found in a specified folder, I am not so interested in the upload part.
The idea is to do it in AngularJS if possible or by JavaScript or jQuery maybe. Does anyone know something? It would also be nice if it finds files with the same name, just take one, not both.
To be able to search an entire directory and subdirectories of a particular one, it can be done as follows:
In this way you can select a directory and it will select all the files and only get the ones that are finished in mp3