Makusanyiko ya ASP GetFile

Mifano na Matumizi

GetFile methodi inaruhusu kumuona kipindi cha File kwa neno ya ndani ya maelezo.

Makusanyiko:

FileSystemObject.GetFile(path)
mashirika Inaonyesha
path injili. Inahitaji. inaonyesha maelezo kwa maelezo yenye uhusiano wa maelezo.

mwingiliano

<%
dim fs,f
set fs=Server.CreateObject("Scripting.FileSystemObject")
set f=fs.GetFile("c:\test\test.htm")
Response.Write("The file was last modified on: ")
Response.Write(f.DateLastModified)
set f=nothing
set fs=nothing
%>

Muatiririko:

Faili ilichorotisha kwa sasa tarehe 01/01/20 4:23:56 AM