Page 1 of 2

TreeView

Posted: Tue Sep 19, 2006 11:30 am
by icesolid
Does anyone know of any ways to list a treeview of a persons hard drive or computer?

I am looking to have a page that lists the folders or drives on the users computer and then have them selected from that the files they want to upload and then click "Upload" and have PHP upload the files selected in the treeview.

Any ideas?

Posted: Tue Sep 19, 2006 11:44 am
by RobertGonzalez
Doesn't that seem to be a potential security issue? I mean, I wouldn't want an app being able to scan my computer for my folder tree. But that is just me.

Posted: Tue Sep 19, 2006 11:49 am
by icesolid
Well this is only being used by 10 people at the most and they are all working for the company and inside of the company building using company computers. Access to this has been granted and wanted.

Posted: Tue Sep 19, 2006 11:52 am
by Luke
PHP is server-side... how would it access a client's hard drive?

Posted: Tue Sep 19, 2006 11:53 am
by icesolid
My question isent asking how to have PHP access a persons computer, I want to know if there are any ways of using HTML/JAVA to access a persons computers files as a treeview. After doing so I MY SELF am going to program PHP to upload the selected files. The PHP part of this isent my question.

Posted: Tue Sep 19, 2006 11:54 am
by Luke
oh ok... I'm sorry I didn't notice this was in the client-side forum... my bad!

Posted: Tue Sep 19, 2006 11:57 am
by RobertGonzalez
icesolid wrote:Well this is only being used by 10 people at the most and they are all working for the company and inside of the company building using company computers. Access to this has been granted and wanted.
Have you tried some Javascript forums? Or maybe looking into COM objects?

Posted: Tue Sep 19, 2006 12:05 pm
by icesolid
I have browsed around a bit. However I ususally always try home base (devnetwork) first. I am just more comfortable with this forum.

Posted: Tue Sep 19, 2006 12:07 pm
by RobertGonzalez
I feel you. But there are some pretty talented client-side tech developers at Coding Forums that may be able to take this on.

Posted: Tue Sep 19, 2006 12:43 pm
by nickvd
I believe that the only way to accomplish this would be activex in IE... If the spyware can get in, that means that you can read the local drive...

Posted: Tue Sep 19, 2006 12:49 pm
by Luke
wouldn't a java applet be able to do it?

Posted: Tue Sep 19, 2006 12:54 pm
by RobertGonzalez
Yeah, but it will still need some type of ActiveX control I think (that is what I was talking about when I spoke out of my arse and said COM in the last post of mine).

Posted: Tue Sep 19, 2006 12:55 pm
by Luke
how come? :?

Posted: Tue Sep 19, 2006 1:10 pm
by RobertGonzalez
I probably should have added the following words to my last post: 'I think'.

There is going to need to be something client side that acts as the mechanism for opening a view to the file system. What is that mechanism? I am really no expert at all in this field so I am asking legitimately.

Posted: Tue Sep 19, 2006 1:16 pm
by Luke
doesn't a java applet have access to client side?