By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,494 Members | 1,957 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,494 IT Pros & Developers. It's quick & easy.

creating an index

P: n/a
Ken
Hi, I'd like to create a simple text list of all the files (mostly pictures)
in a server, with each filename being a link to the file. Is there a tool
around that I could use to make the index file? Also, is it possible to
have the list automatically update when files are added or removed from the
server? Any advice would be appreciated. Cheers.
Jul 20 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Ken wrote:
I'd like to create a simple text list of all the files (mostly pictures)
in a server, with each filename being a link to the file. Is there a tool
around that I could use to make the index file? Also, is it possible to
have the list automatically update when files are added or removed from the
server?


Yes, and yes, if your server is Apache and is configured to allow such
a thing. They usually are in shared hosting environments, but not always.

http://httpd.apache.org/docs/mod/mod_autoindex.html

As this is off-topic for an html group, may I suggest you take any
further questions to an appropriate server group? (I'd x-post, but I
don't know which server you use, and thus don't know which group is
the right one.)

--
Brian (remove ".invalid" to email me)
http://www.tsmchughs.com/
Jul 20 '05 #2

P: n/a
"Ken" <no****@yahoo.com> wrote in
comp.infosystems.www.authoring.html:
Hi, I'd like to create a simple text list of all the files (mostly pictures)
in a server, with each filename being a link to the file. Is there a tool
around that I could use to make the index file?


Well, yes -- if that's all you want, a simple "dir" or "ls" will do
it. Then use your text editor to convert each to a link.

But are your file names really good enough to use as link text. Are
they completely self explanatory?

--
Stan Brown, Oak Road Systems, Tompkins County, New York, USA
http://OakRoadSystems.com/
HTML 4.01 spec: http://www.w3.org/TR/html401/
validator: http://validator.w3.org/
CSS 2 spec: http://www.w3.org/TR/REC-CSS2/
2.1 changes: http://www.w3.org/TR/CSS21/changes.html
validator: http://jigsaw.w3.org/css-validator/
Jul 20 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.