November 2nd, 2003, 01:44 PM
disk space usage
how can i view the disk space and bandwidth used from a particular folder in my coldfusion server. I mean when ppl visit my website they go to C:\CFusionMX\wwwroot\, but some of my files are in C:\CFusionMX\folder1\ and i have a special script in C:\CFusionMX\wwwroot\(accessible by all users) which links to files from C:\CFusionMX\folder1\ (which is NOT accessible by anyone).
So can anyone tell me how i can monitor/view the diskspace and bandwidth of C:\CFusionMX\folder1\ from C:\CFusionMX\wwwroot\
November 5th, 2003, 06:54 PM
You can get the size of a directory using cfdirectory (or recursive cfdirectory calls), but not bandwidth. You'll have to do this from the server-side (OS or web server) or from a log file...CF has built-in monitoring and performance data (actually this ties into the OS's monitoring systems) but I don't think it would let you do this by directory.