471,075 Members | 809 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

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

Iframe to local directory or another way


I would like to display a local directory in an iframe or a webpage. I
have tried a number of different paths in an iframe and that doesn't
work. I don't know how to call info from a local directory in html or
java but I know it is possible because I have been to websites that
display my C:\ directory as an example of this but I can't find one
now. Can anyone help!


Sorry i didn't introduce myself.
I'm Matt aka devilbear
admin at funkb.us sports

Nov 6 '05 #1
2 2120
> I would like to display a local directory in an iframe or a webpage

You can try pointing to file:///C or in a frameset, but it will only
work on Windoze machines. It also won't (or shouldn't) work in most
browsers (esp when done thru JS) due to security restrictions, and
anything on the users computer is completely off limits to JS in all
but the worst browsers.
I have been to websites that display my C:\ directory


Your browser has lax security, or you have changed your security
settings. Are you sure it wasn't a file upload dialog?

Nov 6 '05 #2
Nah that won't work. I guess I need to go about this differently.

I'm trying to make a page so that one you go to it it displays your own
favorites linkable.

Nov 6 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by nightstar | last post: by
3 posts views Thread by Asterbing | last post: by
7 posts views Thread by pb | last post: by
9 posts views Thread by Lee | last post: by
reply views Thread by leo001 | last post: by

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.