Solved

open directory in browser instead of index.html

Posted on 2004-03-21
8
803 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
Why Off-Site Backups Are The Only Way To Go

You are probably backing up your data—but how and where? Ransomware is on the rise and there are variants that specifically target backups. Read on to discover why off-site is the way to go.

 

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 79 total points
ID: 10644432
bottom line is to answer your question
No, you can't (like I said originally)
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Occasionally Windows/Microsoft Updates will fail to update. We have found a code that will delete all temporary files and re-register all dll's related to Windows/Microsoft Updates! This works 99% of the time to get the updates working again! The…
I use more than 1 computer in my office for various reasons. Multiple keyboards and mice take up more than just extra space, they make working a little more complicated. Using one mouse and keyboard for all of my computers makes life easier. This co…
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.

728 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