You may have permissions to write - but if you are running tomcat as a
SYSTEM user (since I see windows specific stuff) - it does not.
This is not a tomcat (specific) issue.
-Tim
Rohit wrote:
I have permissions to write files. I am able to do that manully and thorugh
single program also. I am not able to do it through tomcat.
Please let me know if there is some configuration required in tomcat.
-----Original Message-----
From: Tim Funk [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 02, 2008 6:12 PM
To: Tomcat Users List
Subject: Re: file transfer error
You don't have permission to write (or open?) files on the remote
machine - check the permission tomcat is running as vs who can open
files on the remote machine
(Access is denied)
-Tim
Rohit wrote:
Dear All,
I have a typical problem. When I am trying to copy files from
through tomcat on one computer to other computer then I get exceptions as
:-
java.io.FileNotFoundException:
\\10.1.103.110\FileUpload\Punjab\02-jan-08.enr
<file://\\10.1.103.110\FileUpload\Punjab\02-jan-08.enr> (Access is denied)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
at extractor.MovingFile.copyFile(MovingFile.java:43)
at extractor.MovingFile.copyDirectory(MovingFile.java:31)
at extractor.FileGeneratorServlet.doGet(FileGeneratorServlet.java:97)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]