Asp Codes
ActiveX
ADO
Array
Code Snippets
Components
Data Access
Date Time
Files
Graphics
HTML Formatting
Mathematics
Miscellaneous
Sessions
SQL
Strings
Techniques
XML
Asp > Code Snippets sample source codes
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 <br> File type is <%= objFile.Type %> <br> File last modified on <%= objFile.DateLastModified %> <br> File name is <%= objFile.Name %>
Privacy Policy
|
Link to Us
|
Links