homepage Welcome to WebmasterWorld Guest from 54.166.228.100
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / WebmasterWorld / Webmaster General
Forum Library, Charter, Moderators: phranque & physics

Webmaster General Forum

    
listing files?
jake58




msg:3372759
 10:37 pm on Jun 19, 2007 (gmt 0)

Hi:

I am looking for a way to list thousands of files I have in a directory on my web server (windows/apache) for downloading.

Currently I have coded some of them for HTML. Problem is I need to add files every day and do not want to go to the time consuming effort to code them all.

I am wanting just a basic page that lists the filename and extention with a link to download. It would be nice if there was some html code to auto generate this without going to asp net.

At the very least a program I could run on the directory to auto generate the html code.

If anyone has any suggestions would be appreciated.

John

 

jtara




msg:3372793
 11:20 pm on Jun 19, 2007 (gmt 0)

See:

[webmasterworld.com...]

Most web servers do this automatically if you simply delete the index.html file.

jake58




msg:3372804
 11:34 pm on Jun 19, 2007 (gmt 0)

I am sorry I did not make myself more clear.

The website is mine and I have 4 domains on the server.

I do not want to have a domain that just lists files. What I need is a webpage the displays the files in one directory. Directory lister is a stand alone program that would generate the files as a html document but does not provide downloadable links to each file.

Self generating code would be better if it can be done with out asp net.

Or if someone knows of a program that would generate the html code with downladable link to each file.

Thanks,
John

jake58




msg:3373075
 4:28 am on Jun 20, 2007 (gmt 0)

After doing a lot of searches and checking out a half dozen programs I have found a program called "the html directory". Makes html file of directory with downloadable links.

thanks,

john

thecoalman




msg:3373415
 12:44 pm on Jun 20, 2007 (gmt 0)

You can use PHP for that (if you have it), be a lot better than running a program locally.

jake58




msg:3389495
 12:50 pm on Jul 9, 2007 (gmt 0)

Yes, php is installed for a forum. How would I go about doing that in php? I also need to do it for a second directory now on a different webpage.

jake58




msg:3395053
 11:58 am on Jul 15, 2007 (gmt 0)

I found an answer in apache.
[httpd.apache.org...]

jake58




msg:3398458
 7:37 pm on Jul 18, 2007 (gmt 0)

to be specific I put this link with par in the html refering page.

[stopnwo.com...]

lists files in ascending name order.

Kurgano




msg:3398813
 7:22 am on Jul 19, 2007 (gmt 0)

wordpress, attach files and the nesting is done for you.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / WebmasterWorld / Webmaster General
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved