473,327 Members | 1,967 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,327 software developers and data experts.

ASP directory browsing page

I'm using the code found at http://support.microsoft.com/?kbid=224364 called
Creating a Directory Browsing Page Using ASP.

The code works fine. I would like to find a way NOT to show hidden files or
folders. I don't know (if it's possible) how to test for the hidden
attrobute and create an IF condition that will allow only non-hidden files
and folders to show up.

Also, can anyone suggest how to add an "up directory" link (like you might
see in Windows Explorer) to this page?

Thanks for any help you can offer.

Stephen
Jul 19 '05 #1
3 2546
"Stephen Green" <sg*******@spamcharter.net> wrote in message
news:Oe**************@TK2MSFTNGP14.phx.gbl...
I'm using the code found at http://support.microsoft.com/?kbid=224364
called
Creating a Directory Browsing Page Using ASP.

The code works fine. I would like to find a way NOT to show hidden files
or
folders. I don't know (if it's possible) how to test for the hidden
attrobute and create an IF condition that will allow only non-hidden files
and folders to show up.

Also, can anyone suggest how to add an "up directory" link (like you might
see in Windows Explorer) to this page?

Thanks for any help you can offer.


Can we stick to the original thread?

--
Tom Kaminski IIS MVP
http://www.microsoft.com/windowsserv...y/centers/iis/
http://mvp.support.microsoft.com/
http://www.iisfaq.com/
http://www.iistoolshed.com/ - tools, scripts, and utilities for running IIS
http://www.tryiis.com
Jul 19 '05 #2
"Tom Kaminski [MVP]" wrote in message
news:ch**********@kcweb01.netnews.att.com...
: "Stephen Green" wrote in message
: news:Oe**************@TK2MSFTNGP14.phx.gbl...
: > I'm using the code found at http://support.microsoft.com/?kbid=224364
: > called
: > Creating a Directory Browsing Page Using ASP.
: >
: > The code works fine. I would like to find a way NOT to show hidden
files
: > or
: > folders. I don't know (if it's possible) how to test for the hidden
: > attrobute and create an IF condition that will allow only non-hidden
files
: > and folders to show up.
: >
: > Also, can anyone suggest how to add an "up directory" link (like you
might
: > see in Windows Explorer) to this page?
: >
: > Thanks for any help you can offer.
:
: Can we stick to the original thread?

Where is it?
Jul 19 '05 #3
"Roland Hall" <nobody@nowhere> wrote in message
news:%2****************@TK2MSFTNGP15.phx.gbl...
"Tom Kaminski [MVP]" wrote in message
news:ch**********@kcweb01.netnews.att.com...
: "Stephen Green" wrote in message
: news:Oe**************@TK2MSFTNGP14.phx.gbl...
: > I'm using the code found at http://support.microsoft.com/?kbid=224364
: > called
: > Creating a Directory Browsing Page Using ASP.
: >
: > The code works fine. I would like to find a way NOT to show hidden
files
: > or
: > folders. I don't know (if it's possible) how to test for the hidden
: > attrobute and create an IF condition that will allow only non-hidden
files
: > and folders to show up.
: >
: > Also, can anyone suggest how to add an "up directory" link (like you
might
: > see in Windows Explorer) to this page?
: >
: > Thanks for any help you can offer.
:
: Can we stick to the original thread?

Where is it?


in microsoft.public.inetserver.iis ...

--
Tom Kaminski IIS MVP
http://www.microsoft.com/windowsserv...y/centers/iis/
http://mvp.support.microsoft.com/
http://www.iisfaq.com/
http://www.iistoolshed.com/ - tools, scripts, and utilities for running IIS
http://www.tryiis.com
Jul 19 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: MeAndI | last post by:
Hi, it is possible to add ASP code in the page displayed during the directory browsing. This page is returned by windows and lists all the files and directories contained in the current...
26
by: Dan Nash | last post by:
Hi guys I have a page that is *supposed* to list the directories on the server. Here's the code... folderspec = server.MapPath("./images/") set fso =...
8
by: Opa | last post by:
Hi, Does anyone know how to get a list of files for a given directory from a given url. I have the following, but get an error indicating that URI formats are not supported. ...
1
by: Big Tony | last post by:
Is it possible to specify a global default page for a virtual directory? My Virtual directory has 111 subfolders and I do not want to copy a default.aspx to each one. It is set to allow directory...
0
by: Tim Smith | last post by:
Dear All, Uncovered a problem with a home grown site replicator. We have directory browsing enabled to allow our remote clients to "dynamically discover" new files/directories (sites) we have...
5
by: GenCode | last post by:
What is the best way to read a "readable" web directory... I know I can do this Client.DownloadFile("http://www.mydomain.com/readabledir/", c:\ \dir.txt"); But that gives me the html and all...
2
by: Joe Kovac | last post by:
Hi! I have a Web Site, where I turned directory browsing off. I want only one sub folder to be browsable: e.g. MyApp/Files/... How do I do that? Any setting in the web.config? Thanks Joe
1
by: SGilch | last post by:
I am new to javascript, and wondering if it is capable of implementing a browsing mechanism for the browser to upload the names of files in a client side directory to the server. The client would...
3
by: =?Utf-8?B?UmljaGFyZA==?= | last post by:
Hi, I got latest from an ASP .NET project from TFS. With the project loaded in Visual Studio, I opened a vb source file from this web project, and pressed F5 to run the project. IE opens, and...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.