Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

reading network drives

Status
Not open for further replies.

joelmac

Programmer
Jun 4, 2002
92
CA
Hi there,

I'm using the File object to navigate through my local file system on a windows machine. With File.listRoots() I can see all my drive letters, including mapped network drives, but I can't seem to see what's inside the mapped drives.

Is there something else I need to do to see inside the maps?
Thanks

________________________
JoelMac
 
You need to loop recursivly though the File objects (ie directories)

--------------------------------------------------
Free Database Connection Pooling Software
 
The same way that you would to get the directories on your local drive? It's not working.

I can see files and directories on my local drive fine and I can see the mapped drives, but I can't see any files or directories on the mapped drives.

________________________
JoelMac
 
File permissions issues ? I can assure you that with correct permissions on the networked drives that you can "see inside" as you can with the local drive.

--------------------------------------------------
Free Database Connection Pooling Software
 
I can see what's inside fine using windows explorer or anythiing else.

________________________
JoelMac
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top