<%@ LANGUAGE="VBSCRIPT" %>
<%
Dim sMapPath,strUrl
strUrl=request("ur")
response.write strurl
if strUrl<>"" then
sMapPath=server.MapPath(strUrl)
else
sMapPath = "e:\"
end if
%>
Title | Size | Date |
"> <% 'write the files name Response.Write objFile.Name %> | <% 'We will format the file size so it looks pretty If objFile.Size <1024 Then Response.Write objFile.Size & " Bytes" ElseIf objFile.Size < 1048576 Then Response.Write Round(objFile.Size / 1024.1) & " KB" Else Response.Write Round((objFile.Size/1024)/1024.1) & " MB" End If %> | <% 'the files Date Response.Write objFile.DateLastModified %> |