I am looking for a way to recursively search over a folder (that will explore directory and subdirectories) files to be uploaded with AngularJS Upload, but the important thing is to 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, does not interest me so much 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 be good too if you find the same name files just take one not both.