Hi everyone,

I have my project for a website with some files and folders and it looks like this:

Post image

there are some videos inside the “videos” folder.

I’d like to have an array containing all the names of the files inside that folder and pass it to javascript.

From what I understand, I can’t access that folder with a js script, since it’s client side.

I only know html, css and vanilla JS.

What would be the easiest way to be able to get those file names? I am willing to use other languages or frameworks.

Thanks for your help.

Source link

Write A Comment