Re: List remote files in Servlet

2008-08-06 Thread André Warnier
Nathan Thatcher wrote: Turns out that was the issue. I set tomcat to run as a local user and now it works. Thanks for the help. Tomcat is running on a windows machine under the SYSTEM account so I assume that it has the permissions. Is there a way to check if this is the problem? Under

List remote files in Servlet

2008-08-05 Thread Nathan Thatcher
I am experiencing a little problem with Tomcat 6.0 and I haven't been able to determine the cause or solution. In a standalone Java application I can list the files from a remote directory like this: File[] list = new File(//192.168.0.1/shared_dir).listFiles(); When I execute the same code in a

Re: List remote files in Servlet

2008-08-05 Thread Steve Ochani
Date sent: Tue, 05 Aug 2008 15:45:26 -0600 From: Nathan Thatcher [EMAIL PROTECTED] Subject:List remote files in Servlet To: users@tomcat.apache.org Send reply to: Tomcat Users List users@tomcat.apache.org I am

Re: List remote files in Servlet

2008-08-05 Thread Nathan Thatcher
On Tue, Aug 5, 2008 at 3:53 PM, Steve Ochani [EMAIL PROTECTED] wrote: Date sent: Tue, 05 Aug 2008 15:45:26 -0600 From: Nathan Thatcher [EMAIL PROTECTED] Subject:List remote files in Servlet To: users@tomcat.apache.org Send

Re: List remote files in Servlet

2008-08-05 Thread Nathan Thatcher
:26 -0600 From: Nathan Thatcher [EMAIL PROTECTED] Subject:List remote files in Servlet To: users@tomcat.apache.org Send reply to: Tomcat Users List users@tomcat.apache.org I am experiencing a little problem with Tomcat 6.0 and I