file information
Advertisements
| Top Tutorials | New Tutorials | Submit | Login | Register |
Tutorial Detail
file information
This example displays some useful file examples .http://tutorials.programmingsite.co.uk/aspfileinfo.php
Total Hits: 3315
Total Votes: 36 votes
Category: ASP/File Manipulation
Submitted on: 2008-03-06 10:07:32
Submitted By: Devesh Khanna
Description:
Displaying when a file was last accessed , modified and creation date.File Modified
<%
'variables for our objects
Dim objFSO , myFile
'create instances of our objects
Set objFSO = Server.CreateObject("Scripting.FileSystemObject")
Set myFile = objFSO.GetFile(Server.MapPath("sample.txt"))
'display information about file
Response.Write "The file was last modified on " & myFile.DateLastModified
'set object variables to Nothing
Set myFile = Nothing
Set objFSO = Nothing
%> More detail...
Rating Detail
| Stars | Percentage | Total Vote |
|---|---|---|
![]() |
![]() ![]() 16.67% |
6 |
![]() ![]() |
![]() ![]() 16.67% |
6 |
![]() ![]() ![]() |
![]() ![]() 16.67% |
6 |
![]() ![]() ![]() ![]() |
![]() ![]() 16.67% |
6 |
![]() ![]() ![]() ![]() ![]() |
![]() ![]() 16.67% |
6 |





16.67%

16.67%

16.67%

16.67%

16.67%