Abs
|
Posted: 01/31/2006, 7:16 AM |
|
Hi,
Please can someone tell me how I can display the last modified date and time of a text file located on the local network?
Thanks
Abs
|
|
|
Stan
|
Posted: 01/31/2006, 7:30 AM |
|
You can try following
Dim fi1 As New System.IO.FileInfo(path)
Response.Write(fi.LastWriteTime.ToString())
Stan
|
|
|
Selvi
|
Posted: 02/20/2006, 8:42 PM |
|
If i modify an attribute to another value, how do i get the modified time and then take that log and send it to a mailid to let them know which attribute was changed. I am using Perl
|
|
|
Abs
|
Posted: 03/23/2006, 4:22 PM |
|
HI,
I used the foloowing:
Insert a lable (lastMod)
Dim path As String = (Server.MapPath("path\file.txt"))
Dim lastMod As DateTime = File.GetLastWriteTime(path)
Hope this helps
|
|
|
|