Asp Ref File
# ASP File Object
* * *
The File object is used to return information about a specified file.
* * *
![Image 2: Examples](
## Try It Yourself - Examples
[When was the file last modified?](
This example demonstrates how to use the DateLastModified property to obtain the date and time when a specified file was last modified.
[When was the file last accessed?](
This example demonstrates how to use the DateLastAccessed property to obtain the date and time when a specified file was last accessed.
(
This example demonstrates how to use Attributes to return the attributes of a specified file.
* * *
## File Object
The File object is used to return information about a specified file.
To manipulate properties and methods related to the File object, you need to access it through the FileSystem
YouTip