Failed to delete original file
<p>we are running jar using batch file as window service and place xml files in <code>c:/processed</code> 
directory;</p>

<p>if xml has an errorneous format then move it to error folder; we are using below method to move the file to error folder but getting below exception. </p>

<p>I think when the process is running its not able to move the file to error folder . </p>

<pre><code>FileUtils.moveToDirectory("a.xml", "c:/processed/error", false);
</code></pre>

<blockquote>
  <p>exception in movedErrorFolder: Failed to delete original file 'c:/processed/a.xml' after copy to 'c:/processed/error/a.xml'</p>
</blockquote>
