Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old July 20th, 2005, 08:22 PM
Ken
Guest
 
Posts: n/a
Default creating an index

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.


  #2  
Old July 20th, 2005, 08:22 PM
Brian
Guest
 
Posts: n/a
Default Re: creating an index

Ken wrote:
[color=blue]
> 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?[/color]

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/
  #3  
Old July 20th, 2005, 08:22 PM
Stan Brown
Guest
 
Posts: n/a
Default Re: creating an index

"Ken" <nospam@yahoo.com> wrote in
comp.infosystems.www.authoring.html:[color=blue]
>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?[/color]

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/
 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles