File Created, Modified and Last Accessed date

Feb 24, 2009 at 12:03 PM
How do I get file created, modified and last accessed date for selected file for uploading? I need to store the same in my database.
Coordinator
Feb 24, 2009 at 3:12 PM
This is the information that you have on server side:
http://msdn.microsoft.com/en-us/library/system.web.httppostedfile_properties.aspx

This is the information you have on client side:
id Integer ID of the file unique per each uploading session
bytes The size of the file in bytes
name The name of the file
state Selected = 1; Uploading = 2; Uploaded = 3; Error = 5

The rest is beyond the security sandbox