?
Solved

open directory in browser instead of index.html

Posted on 2004-03-21
8
Medium Priority
?
805 Views
Last Modified: 2010-08-05
how do i open directory in browser instead of index.html?

like i want a listing of all the files in the directory instead of going straight to the index.html
i am aware that some sites don't let you, but how would i do it?
0
Comment
Question by:djiangr
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
8 Comments
 
LVL 41

Expert Comment

by:stevenlewis
ID: 10644271
YOu don't, unless the site allow directory browsing, and has no default page set up. If no default page is setup, then the directory will open when you access the site
0
 
LVL 4

Expert Comment

by:berni1234
ID: 10644308
do you want to open a local dir at startup of ie??
then define as startpage in ie
file:///c:/yourdir
0
 

Author Comment

by:djiangr
ID: 10644311
theres this program called "list files" what does that do?
0
7 Extremely Useful Linux Commands for Beginners

Just getting started with Linux? Here's a quick start guide that has 7 commands that we believe will come in handy.

 

Author Comment

by:djiangr
ID: 10644322
no that's not what i wanna do

theres a site called http://www.asdjf;kjasf.com/directory/

i wanna see what's in the directory, but there is an index.html file so i can't see it

is it even possible to do it?
"list files" seems to do something, but i don't know how to use it
0
 
LVL 41

Expert Comment

by:stevenlewis
ID: 10644346
where is this program, list files? point me to it and I will check it out

>>wanna see what's in the directory, but there is an index.html file so i can't see it
If they don't want you to see it, then you can't
0
 
LVL 41

Expert Comment

by:stevenlewis
ID: 10644429
that is an asp component (must be uploaded to the server, and then accessed thru active server pages and  your browser) it can not be run locally
from the software.txt included with the download
>>is an ASP component for obtaining web-server's directory
 structure. It allows you to list web-server's files and directories via web-browser
If  you  know anything about asp coding, here is the code from the files.asp
<%Response.Expires=0%>
<html>
<STYLE TYPE="text/css">
<!--
A:link {text-decoration: none; }
A:visited {text-decoration: none;}
A:active {text-decoration: none;color:red; }
A:hover      {text-decoration:underline;color:red;}
-->
</STYLE>
<body bgcolor="#fdf5e6">
<%

'ASP ListFiles v1.9 Demo by Shatran Software
'For more info check out http://www.winutility.com/

Dim curr_dir

curr_dir = Request.QueryString("dir")
Set obj = CreateObject("ListFiles.Files")

obj.AspFile = "files.asp"

obj.RootFolder = "c:\inetpub\wwwroot\user"

obj.RootVirtualFolder = "http://localhost/user"

obj.CurrentFolder = curr_dir

obj.TargetLinks = "main"

obj.ImageOpenFolder = "open.gif"

obj.ImageCloseFolder = "close.gif"

obj.ImageFiles = "doc.gif"

obj.AdvanceView = ""

obj.CtrlRedirFile = ""

obj.setTableTag = "<table border=0 cellspacing=0>"

obj.Runme()

res = obj.Result

Response.Write "<b>" & curr_dir & "</b><p>"
Response.Write res

Set obj = Nothing
%>
</BODY>
</HTML>
0
 
LVL 41

Accepted Solution

by:
stevenlewis earned 316 total points
ID: 10644432
bottom line is to answer your question
No, you can't (like I said originally)
0

Featured Post

WordPress Tutorial 4: Recommended Plugins

Now that you have WordPress installed, understand the interface, and know how to install new parts, let’s take a look at our recommended plugins.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Sometimes a user will call me frantically, explaining that something has gone wrong and they have tried everything (read - they have messed it up more and now need someone to clean up) and it still does no good, can I help them?!  Usually the standa…
In this article we will discuss all things related to StageFright bug, the most vulnerable bug of android devices.
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question