title: <cffile action="write"> refusing to work
body: <p>I'm pulling my hair our here and really can't figure out why this code will not work. I need to use <code>&lt;cffile action="write"&gt;</code> to put a document on the server.</p>
  
  <p>I've stripped the code to its bare minimum in an attempt to get the file to write to the server, however it still won't budge. The code I am running is this.</p>
  
  <pre><code>&lt;cffile action = "write" 
          file = "test.txt"
          output = "Content"
  &gt;
  </code></pre>
  
  <p>When I run this code on the server, it does nothing. I get no error messages on-screen, however no file appears on the server either.</p>
  
  <p>I've been searching for a while and the only thing I could seem to come up with was writing the absolute file path, so I've also tried this too</p>
  
  <pre><code>&lt;cffile action = "write" 
          file = "http://www.my_url.com/test.txt"
          output = "Content"
  &gt;
  </code></pre>
  
  <p>Which does get me an error message (see below), however searches for how to sort this error message have been less than useful.</p>
  
  <pre><code>An error occurred when performing a file operation write on file 
  http://www.my_url.com/test.txt.
  The cause of this exception was: java.io.FileNotFoundException:  
  http://www.my_url.com/test.txt.
  </code></pre>
  
  <p>I thought this could be a problem with my privileges, however there is no '<strong>access is denied</strong>' error on the end of the FileNotFound, so I really am lost as to what to do.</p>
  
  <p>It's doubly infuriating because on this exact site I am also using <code>&lt;cffile action="upload"&gt;</code> which works absolutely fine!</p>