Question
Size of a directory
I have a directory on our server with about 6000 files in it
in subdirectories. I need to display to the user the size of all
the files in the directory in GB if over 1GB and in MB if under
1GB. I figured CFDIRECTORY would give me the size of a directory
but it returns 0 for directories. So does this mean I have to do a
cfdirectory call (recursive) and then loop through every file and
add up the size? If so, whats the math on that as far as figuring
out gigabytes and megabytes (i suck at math lol) I did loop through
everything and it returned 4320536649. So now what?
THANKS!!
THANKS!!