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]