![]() |
Displaying latest file in a directory
I have quick little page that I need to create but its sounds like the
concept is not so quick. I have a folder with eight or ten files that can be displayed in a browser. I need to display the file with the latest creation date. I imagine there is some kind of ASP function that could like at the filename's date and pick the file that meets the criteria. How can I do this? |
Re: Displaying latest file in a directory
maxhauser@mailcity.com wrote:
> I have quick little page that I need to create but its sounds like the > concept is not so quick. > > I have a folder with eight or ten files that can be displayed in a > browser. I need to display the file with the latest creation date. I > imagine there is some kind of ASP function that could like at the > filename's date and pick the file that meets the criteria. How can I > do this? Do a search at www.aspfaq.com for filesystemobject. You'll see plenty of examples. Do the same at msdn.microsoft.com/library. Bob Barrows -- Microsoft MVP - ASP/ASP.NET Please reply to the newsgroup. This email account is my spam trap so I don't check it very often. If you must reply off-line, then remove the "NO SPAM" |
| All times are GMT. The time now is 09:33 PM. |
Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.