Hopefully this question is easier than I think it is. :)
I have a directory with thousands and thousands of flv and jpeg files in it. I want to loop through the directory, get the file names and their sizes (in bytes) I've tried searching the web for a function to get the sizes, but I can't seem to find anything that talks about handling anything other than txt files. Any help would be much appreciated.