Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 62638 invoked from network); 2 Jan 2008 12:47:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 Jan 2008 12:47:20 -0000 Received: (qmail 38219 invoked by uid 500); 2 Jan 2008 12:46:57 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 38196 invoked by uid 500); 2 Jan 2008 12:46:57 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 38185 invoked by uid 99); 2 Jan 2008 12:46:57 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Jan 2008 04:46:57 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [203.200.233.227] (HELO mail2.3i-infotech.com) (203.200.233.227) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Jan 2008 12:46:46 +0000 Received: from newcorpsmtp.3i-infotech.com (corpsmtp.3i-infotech.com [10.1.46.247]) by mail2.3i-infotech.com (8.14.1/8.13.1) with ESMTP id m02CkEtb028272 for ; Wed, 2 Jan 2008 18:16:14 +0530 Received: from newvashilinux.3i-infotech.com (newvashilinux.3i-infotech.com [10.1.46.204]) by newcorpsmtp.3i-infotech.com (8.13.8/8.13.1) with ESMTP id m02CkCDW027408 for ; Wed, 2 Jan 2008 18:16:12 +0530 Received: (qmail 19156 invoked by uid 89); 2 Jan 2008 12:46:12 -0000 Received: from unknown (HELO smtppostfix.3i-infotech.com) (10.1.46.183) by newvashilinux.3i-infotech.com with SMTP; 2 Jan 2008 12:46:12 -0000 Received: from RWEGoverance (unknown [10.1.103.110]) by smtppostfix.3i-infotech.com (Postfix) with ESMTP id 7FEC018DD21 for ; Wed, 2 Jan 2008 18:16:12 +0530 (IST) From: "Rohit" To: "'Tomcat Users List'" Subject: RE: file transfer error Date: Wed, 2 Jan 2008 18:16:10 +0530 Message-ID: <003e01c84d3d$743abf10$6e67010a@infotech.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Importance: Normal In-Reply-To: <477B86AE.2030606@joedog.org> X-3i-infotech.com-MailScanner1-OpenProtect-Information: Please contact the ISP for more information X-3i-infotech.com-MailScanner1-OpenProtect: Not scanned: please contact your Internet E-Mail Service Provider for details X-3i-infotech.com-MailScanner-OpenProtect-MCPCheck: , X-3i-infotech.com-MailScanner1-OpenProtect-From: rohit.yadav@3i-infotech.com X-3i-infotech.com-MailScanner-OpenProtect-Information: Please contact the ISP for more information X-3i-infotech.com-MailScanner-OpenProtect: Found to be clean X-3i-infotech.com-MailScanner-OpenProtect-From: rohit.yadav@3i-infotech.com X-Virus-Checked: Checked by ClamAV on apache.org 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:funkman@joedog.org] 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 > (Access is denied) > at java.io.FileOutputStream.open(Native Method) > at java.io.FileOutputStream.(FileOutputStream.java:179) > at java.io.FileOutputStream.(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: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org --- This e-mail message may contain confidential, proprietary or legally privileged information. It should not be used by anyone who is not the original intended recipient.If you have erroneously received this message, please delete it immediately and notify the sender. The recipient acknowledges that 3i Infotech or its subsidiaries and associated companies, (collectively "3i Infotech"), are unable to exercise control or ensure or guarantee the integrity of/over the contents of the information contained in e-mail transmissions and further acknowledges that any views expressed in this message are those of the individual sender and no binding nature of the message shall be implied or assumed unless the sender does so expressly with due authority of 3i Infotech. Before opening any attachments please check them for viruses and defects. --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org