title: ColdFusion 9 cffile error Access is Denied
body: <p>I am getting the following error:</p>
  
  <pre><code>The cause of this exception was: 
      java.io.FileNotFoundException:
      //server/c$/folder1/folder2/folder3/folder4/folder5/login.cfm
      (Access is denied).
  </code></pre>
  
  <p>When doing this:</p>
  
  <pre><code>&lt;cffile action="copy" 
      destination="#copyto#\#apfold#\#applic#\#files#"
      source="#path#\#apfold#\#applic#\#files#"&gt;
  </code></pre>
  
  <p>If I try to write to <code>C:\folder1\folder2\folder3\folder4\folder5\login.cfm</code>, it works fine. The problem with doing it this way is that this is a script for developers to be able to manually sync files to their application folder. We have multiple servers for each instance that is randomly picked by BigIP. So just writing to the C:\ drive would only copy the file to the server the developer is currently accessing. So if the developer were to close out the browser and go right back in to make sure their changes worked, if they happen to get sent to a different server, they won't see their change. </p>
  
  <p>Since it works with writing to C:\, I know the permissions are correct. I've also copied the path out of the error message and put it in the address bar on the server and it got to the folder/file fine. What else could be stopping it from being able to access that server?</p>