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 Windo
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
>>
>
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:
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
> I am experiencing a littl
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