Asp > Code Snippets
This shows how to get various details of a file
This shows how to get various details of a file <% Dim strPath strPath = Server.MapPath("index.php") Dim objFSO , objFile set objFSO = CreateObject("Scripting.FileSystemObject") set objFile = objFSO.GetFile(strPath) %> File size is <%= objFile.Size %> bytes
File type is <%= objFile.Type %>
File last modified on <%= objFile.DateLastModified %>
File name is <%= objFile.Name %>
Asp Codes
ActiveX
ADO
Array
Code Snippets
Components
Data Access
Date Time
Files
Graphics
HTML Formatting
Mathematics
Miscellaneous
Sessions
SQL
Strings
Techniques
XML