TreeView

JavaScript and client side scripting.

Moderator: General Moderators

icesolid
Forum Regular
Posts: 502
Joined: Mon May 06, 2002 9:36 pm
Location: Buffalo, NY

TreeView

Post 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?
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post 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.
icesolid
Forum Regular
Posts: 502
Joined: Mon May 06, 2002 9:36 pm
Location: Buffalo, NY

Post 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.
User avatar
Luke
The Ninja Space Mod
Posts: 6424
Joined: Fri Aug 05, 2005 1:53 pm
Location: Paradise, CA

Post by Luke »

PHP is server-side... how would it access a client's hard drive?
icesolid
Forum Regular
Posts: 502
Joined: Mon May 06, 2002 9:36 pm
Location: Buffalo, NY

Post 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.
User avatar
Luke
The Ninja Space Mod
Posts: 6424
Joined: Fri Aug 05, 2005 1:53 pm
Location: Paradise, CA

Post by Luke »

oh ok... I'm sorry I didn't notice this was in the client-side forum... my bad!
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post 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?
icesolid
Forum Regular
Posts: 502
Joined: Mon May 06, 2002 9:36 pm
Location: Buffalo, NY

Post 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.
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post 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.
nickvd
DevNet Resident
Posts: 1027
Joined: Thu Mar 10, 2005 5:27 pm
Location: Southern Ontario
Contact:

Post 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...
User avatar
Luke
The Ninja Space Mod
Posts: 6424
Joined: Fri Aug 05, 2005 1:53 pm
Location: Paradise, CA

Post by Luke »

wouldn't a java applet be able to do it?
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post 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).
User avatar
Luke
The Ninja Space Mod
Posts: 6424
Joined: Fri Aug 05, 2005 1:53 pm
Location: Paradise, CA

Post by Luke »

how come? :?
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post 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.
User avatar
Luke
The Ninja Space Mod
Posts: 6424
Joined: Fri Aug 05, 2005 1:53 pm
Location: Paradise, CA

Post by Luke »

doesn't a java applet have access to client side?
Post Reply