Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Java does not get file list from shared folder in another server.

807588May 11 2009 — edited May 18 2009
Hi,
I'm using java 1.4.2.16,
Command below does not get file list.

import java.io.;*..

File file = new File("\\\\10.242.22.28\\SapMII");
File[] files = file.listFiles();

SapMII folder is Everyone full Control permission.
How can i solve this problem?
Thanks.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 15 2009
Added on May 11 2009
12 comments
3,235 views