HTML Page Linked to Windows Folder?

R

Raymond SCHMIT

Thanks:
When I click the link, it opens the file folder in windows, not an
HTML list of the contents of the folder. What I would like is an html
page that looks something like this:

Contents of my documents:
file1.doc
file2.xls
file3.doc

Then, the list would be linked to the folder, so it would refresh
based on the actual contents of the folder each time it is opened in a
browser. If a file were deleted or added, the next time the html file
is viewed in a browser, it would display the current actual contents
of the folder. As it stands now, I see one link on the html page that
says something like "click here", when I click it, it opens the
windows folder (not in the browser, but an actual windows folder),
with the list of files.

I am using IE 7.

Thanks again for your time.

Per exemple:
Install a webserver and put your files into the following directory:
C:\Program Files\Abyss Web Server\htdocs\scarlet

Then use your brower to surf to: http://127.0.0.1/scarlet/

my result is:
Index of /scarlet/

--------------------------------------------------------------------------------
Name Size Date MIME Type
.../ - Jun 24, 2008 08:06:35 Directory
cgi-bin/ - Jun 24, 2008 08:06:27 Directory
pubwww/ - Jun 24, 2008 08:09:20 Directory

then i can jump into directories - by clicking the cgi-bin and the
result is:
Index of /scarlet/cgi-bin/

--------------------------------------------------------------------------------
Name Size Date MIME Type
.../ - Jun 24, 2008 08:06:27 Directory
data/ - Jun 24, 2008 08:06:27 Directory
dump.pl 2.49 KB Apr 26, 2000 18:20:00 application/octet-stream
logger.gif 0.64 KB Apr 26, 2000 17:11:00 image/gif
logger.pl 0.64 KB Apr 26, 2000 17:03:00 application/octet-stream
nlogger.gif 0.61 KB Apr 29, 2000 08:17:00 image/gif

all those files are then availables and the list refelect the current
reality.
 
R

Raymond SCHMIT

Thanks:
When I click the link, it opens the file folder in windows, not an
HTML list of the contents of the folder. What I would like is an html
page that looks something like this:

Contents of my documents:
file1.doc
file2.xls
file3.doc

Then, the list would be linked to the folder, so it would refresh
based on the actual contents of the folder each time it is opened in a
browser. If a file were deleted or added, the next time the html file
is viewed in a browser, it would display the current actual contents
of the folder. As it stands now, I see one link on the html page that
says something like "click here", when I click it, it opens the
windows folder (not in the browser, but an actual windows folder),
with the list of files.

I am using IE 7.


In fact, you want to have "Internet Explorer" works as "Explorer"
....... :)
 
D

David Segall

I have IIS installed on my computer. I guess I can poke around in
there to see if I can get it working. How about setting up an FTP
server?
My first thought was that an FTP server had no relevance to your
request to produce a directory listing in HTML. Then I visited the
above web site using the URL <ftp://ftp.netbsd.org/pub/NetBSD/> and
discovered that both Internet Explorer and Firefox had excellent FTP
support and the HTML directory listing was far superior to that
produced by a web server. Internet Explorer even displays the FTP
server welcome message. Go for it!
 
D

David Segall

David Segall said:
My first thought was that an FTP server had no relevance to your
request to produce a directory listing in HTML. Then I visited the
above web site using the URL <ftp://ftp.netbsd.org/pub/NetBSD/> and
discovered that both Internet Explorer and Firefox had excellent FTP
support and the HTML directory listing was far superior to that
produced by a web server. Internet Explorer even displays the FTP
server welcome message. Go for it!
I should have endorsed Neredbojias' post in the above message.
<file://C:> will produce exactly the same result in Firefox as an FTP
server would from the same directory. The FTP server is only required
if you want to use Internet Explorer or you want to provide remote
access to your computer.
 
J

Jonathan N. Little

David said:
I should have endorsed Neredbojias' post in the above message.
<file://C:> will produce exactly the same result in Firefox as an FTP
server would from the same directory. The FTP server is only required
if you want to use Internet Explorer or you want to provide remote
access to your computer.


Don't know about you but mine must be:

file:///C:/

note slash count...
 
D

David Segall

Jonathan N. Little said:
Don't know about you but mine must be:

file:///C:/

note slash count...
I wondered about that. If I enter file://C: into the Firefox address
bar it retrieves the directory listing but it alters the address bar
to display the URL you have posted. If I double click on the URL I
posted nothing happens and if I double click on the URL you posted a
get a _Windows_ Explorer Directory Listing. I am using Windows XP SP3
and the default browser is Forefox V3.0.1.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,773
Messages
2,569,594
Members
45,123
Latest member
Layne6498
Top