..


Sponsored Links

GetFile

The FileSystemObject object's GetFile method returns a file from a specific path. GetFile method permitted by the single parameter is the path of the file. Here's an example:






 Dim fs, f or







 'I create a FileSystemObject instance dell'offetto







 Set fs = Server.CreateObject ("Scripting.FileSystemObject")









 'I create an instance of the object files







 Sept. for = fs.GetFile ("c: \ www \ mysite \ index.html")









 'Mold videos the date of last modification of files







 Response.Write (fo.DateLastModified)









 'I cleaned







 Sept. for = Nothing







 Set fs = Nothing



The output will look something like this:
 



 02/12/09 10:21:30 AM

 

In the same category ...
E-Learning
ASP (Advanced) ASP (Advanced)
Full course for creating dynamic Web sites. From 39 €.
ASP Zero (Ebook) ASP Zero (Ebook)
Learning Microsoft ASP and VBScript from scratch. At only 29 €.
ASP and Access (Ebook) ASP and Access (Ebook)
Managing a MS Access database with ASP. At only 29 €.
Sponsored Links