so what i'm trying to do is to get all the file names of all the images that are located in a specific folder in my project or on the server (which is practically the same) in a string array.
I tried with
Directory.GetFiles(Server.MapPath(@"~/_img/_upload/"));
But the array stays empty. Could anyone help me with that?
I'd appreciate the help, thanks in advance!