For Programmers: Free Programming Magazines  


Home > Archive > ASP > December 2004 > ASP Directory Listing!!!!









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author ASP Directory Listing!!!!
Adam

2004-12-29, 8:55 am

I am running IIS and using asp, I want to be able to list a directory/
content of a folder using asp, and display it in a table using html.



I have seen many examples but have not been able to get them to work



All my html & asp are in a folder called webserver in the following
directory c:\Inetpub\wwwroot\



And I want to be able to display the content of a folder called folder which
is located within the webserver directory



I want to do it with asp instead of allowing directory browsing within IIS.



Can anyone help?



Thanks


Morris

2004-12-29, 8:55 am

Adam wrote:
> I am running IIS and using asp, I want to be able to list a directory/
> content of a folder using asp, and display it in a table using html.
>
>
>
> I have seen many examples but have not been able to get them to work
>


You should at least provide an example of on of the many examples you
have not been able to get working properly, together with the error
messages you have experienced, otherwise no one knows which bit you are
having trouble with - reading the contents of a directory, or outputting
it to a table.

Morris
ljb

2004-12-29, 3:55 pm


"Adam" <adamt_82@hotmail.com> wrote in message
news:cqu61r$5qd$1@sparta.btinternet.com...
> I am running IIS and using asp, I want to be able to list a directory/
> content of a folder using asp, and display it in a table using html.
>
>
>
> I have seen many examples but have not been able to get them to work
>
>
>
> All my html & asp are in a folder called webserver in the following
> directory c:\Inetpub\wwwroot\
>
>
>
> And I want to be able to display the content of a folder called folder

which
> is located within the webserver directory
>
>
>
> I want to do it with asp instead of allowing directory browsing within

IIS.
>
>
>
> Can anyone help?
>
>
>
> Thanks
>
>

I have had success using http://www.romankoch.ch/capslock/standaloners.htm.
The code is well documented and identifies the items needing customization.


Curt_C [MVP]

2004-12-29, 3:55 pm

Something like this should work

http://www.darkfalz.com/1069

--
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com


"Adam" <adamt_82@hotmail.com> wrote in message
news:cqu61r$5qd$1@sparta.btinternet.com...
>I am running IIS and using asp, I want to be able to list a directory/
>content of a folder using asp, and display it in a table using html.
>
>
>
> I have seen many examples but have not been able to get them to work
>
>
>
> All my html & asp are in a folder called webserver in the following
> directory c:\Inetpub\wwwroot\
>
>
>
> And I want to be able to display the content of a folder called folder
> which is located within the webserver directory
>
>
>
> I want to do it with asp instead of allowing directory browsing within
> IIS.
>
>
>
> Can anyone help?
>
>
>
> Thanks
>
>



Aaron [SQL Server MVP]

2004-12-29, 3:55 pm

http://www.aspfaq.com/2025

--
http://www.aspfaq.com/
(Reverse address to reply.)




"Adam" <adamt_82@hotmail.com> wrote in message
news:cqu61r$5qd$1@sparta.btinternet.com...
> I am running IIS and using asp, I want to be able to list a directory/
> content of a folder using asp, and display it in a table using html.
>
>
>
> I have seen many examples but have not been able to get them to work
>
>
>
> All my html & asp are in a folder called webserver in the following
> directory c:\Inetpub\wwwroot\
>
>
>
> And I want to be able to display the content of a folder called folder

which
> is located within the webserver directory
>
>
>
> I want to do it with asp instead of allowing directory browsing within

IIS.
>
>
>
> Can anyone help?
>
>
>
> Thanks
>
>



Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com