title: Tomcat: java.io.IOException : Destination "xxx" directory cannot be created"
body: <p>I would like to do projects backup from one location to another location in network.this sample application has been written in struts.<br>
  This was achieved by using <code>org.apache.commons.io.FileUtils</code>.</p>
  
  <p>My problem here is, when I ran this application in netbeans 6.9 IDE tomcat server its working fine, but when I tried to run this application in apache tomcat 7.0 server by deploying this application WAR file, I get exception like </p>
  
  <pre><code>java.io.IOException : Destination "xxx" directory cannot be created"
  </code></pre>
  
  <p>this destination path is another machine in our local network. </p>
  
  <p>I assume some kind of netbeans IDE options which are enabling tomcat server to copy folder to a destination directory when I ran it in netbeans tomcat. </p>
  
  <p>where as, if I run this application in tomcat server some kind of tomcat file permissions are blocking.</p>
  
  <p>Both source and destination are shared folders. </p>