I need a server-side javascript that can read filenames in a directory on the same server, and return an array of strings that are the names of the files in the directory I specify.
I can't seem to find method or function to read the names of all the files in a directory in javascript. Does anyone know what I should use?
Thanks in advance.
I can't seem to find method or function to read the names of all the files in a directory in javascript. Does anyone know what I should use?
Thanks in advance.