<%
'Capture the name of the page as well as
' directory structure
script_name=Request.ServerVariables("script_name")
'Split the directory tree into an arry b
' y /
split_name=Split(script_name,"/")
' Sets the number of directory levels do
' wn
num_directory=UBound(split_name)-1
%>
Directory | Megabytes | Kilobytes | Bytes |
<%= directory.name %> | <%= FormatNumber((directory.size/1024/1024),2) %> | <%= FormatNumber((directory.size/1024),0) %> | <%= FormatNumber(directory.size,0) %> |
Total | <%= FormatNumber((total_size/1024/1024),2) %> | <%= FormatNumber((total_size/1024),0) %> | <%= FormatNumber(total_size,0) %> |