467,880 Members | 1,073 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 467,880 developers. It's quick & easy.

creating an index

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
  • viewed: 1339
Share:
2 Replies
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
"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.

Similar topics

reply views Thread by Alan Cobban | last post: by
7 posts views Thread by mike | last post: by
2 posts views Thread by Pawan | last post: by
4 posts views Thread by Michael K. Walter | last post: by
2 posts views Thread by oswald.harry | last post: by
reply views Thread by MrMoon | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.