Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sorting Directory Files

Status
Not open for further replies.

fergmj

Programmer
Feb 21, 2001
276
US
I have a VERY imple index.htm that merely lets the files in a directory be listed.

The files are listed alphabetically but I want to list them by most recently created first and oldest last.

How can I do this?

Thanks

fergmj
 
No, it is not. It is a very simple iPLANET server (UNIX).

fergmj
 
Is your index page the one you get by not[/i] putting an index.html page in yourself?

i.e. You have not created it? Dean Owen
 
QuietDean -

Yes, I do not have an index.html page so the directory listing I get when calling the site.

fergmj
 
Okay. Sorry, looked like I was shouting up there, but I miss-typed and everything came out in bold. Sorry!

Off-hand, I have never seen any way to adjust the directory page that is generated by the server automatically. It may be possible if you own the server, but otherwise I can't see it happening.

The other way to go is coding something yourself, either with a funky script that reads your directory, or by manually making a directory page yourself. Sorry.

Unless anyone else has seen a way to do this? Dean Owen
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top