sDir = Server.MapPath(".")
Set fso = Server.CreateObject("Scripting.FileSystemObject")
Set objFldr = fso.GetFolder(sDir)
Set objFileColl = objFldr.Files
For Each file in objFileColl
response.write file.Name & " (" & FORMATNUMBER(file.size/1000,1) & " KB)<BR>"
Next
Set objFldr = Nothing
Set objFileColl = Nothing
Set fso = nothing