Can JavaScript count the files in an online directory? I wanna know this becuase i wanna make a script that will play a random sound file from a folder of sounds, but i wanna be able to just keep uploading the sounds without having to modify the script. As long as I can get javascript to count the files in the directory, I will be able to make the script no problem.
------------------
I see dead people.