Solved

open directory in browser instead of index.html

Posted on 2004-03-21
8
800 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
  • 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
Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

 

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
 

Author Comment

by:djiangr
ID: 10644386
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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Suggested Solutions

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…
#Citrix #POC #XenDesktop #vCenter #VMware #ESX
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.

773 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