In server 2003 is there a way that a web directory that lists files can be
sorted by date instead of by the name of the file? When you go to the web
address to see the files that are listed they are alphabetically listed and
not by date time or size. Is there a way to change it so that it does not
list by name of file?

Re: web server directory listing by Tom

Tom
Wed Jun 16 14:35:42 CDT 2004

"Mark" <rmwatrich@hotmail.com> wrote in message
news:uIPCXD9UEHA.3428@TK2MSFTNGP12.phx.gbl...
> In server 2003 is there a way that a web directory that lists files can be
> sorted by date instead of by the name of the file? When you go to the web
> address to see the files that are listed they are alphabetically listed
and
> not by date time or size. Is there a way to change it so that it does not
> list by name of file?

Not directly:
http://support.microsoft.com/?kbid=224364
http://www.aspfaq.com/show.asp?id=2025

--
Tom Kaminski IIS MVP
http://www.microsoft.com/windowsserver2003/community/centers/iis/
http://mvp.support.microsoft.com/
http://www.iistoolshed.com/ - tools, scripts, and utilities for running IIS
http://www.tryiis.com



Re: web server directory listing by jeff

jeff
Wed Jun 16 14:51:59 CDT 2004

On Wed, 16 Jun 2004 14:35:02 -0400, "Mark" <rmwatrich@hotmail.com>
wrote:

>In server 2003 is there a way that a web directory that lists files can be
>sorted by date instead of by the name of the file? When you go to the web
>address to see the files that are listed they are alphabetically listed and
>not by date time or size. Is there a way to change it so that it does not
>list by name of file?

Write a custom ASP page to do this. There are plenty of examples on
the web of how to list files, might want to read the directory listing
into an array and allow sorting of the array by elements. In .NET I
think there's even a directory listing control available.

Jeff