C
crjunk
I have a folder named TXT24 on my web server that will contain multiple
txt files. I want to add some code to the Session_Start event in my
Global.aspx page that will scan all the files in the TXT24 folder and
delete any text file that is over 24 hours old based on file's creation
date. All the files in this folder will have random names, so I can't
specify the file names in my code that need to be deleted.
Can anyone give me some leads on how to do this?
Thanks,
crjunk
txt files. I want to add some code to the Session_Start event in my
Global.aspx page that will scan all the files in the TXT24 folder and
delete any text file that is over 24 hours old based on file's creation
date. All the files in this folder will have random names, so I can't
specify the file names in my code that need to be deleted.
Can anyone give me some leads on how to do this?
Thanks,
crjunk