title: SSIS - The process cannot access the file because it is being used by another process
body: <p>I have following Dataflow:</p>
  
  <p><img src="https://i.stack.imgur.com/svYIz.png" alt="enter image description here"></p>
  
  <p>Control:</p>
  
  <p><img src="https://i.stack.imgur.com/pgRZZ.png" alt="enter image description here"></p>
  
  <p>I just wanted to copy all the data from flatfiles in sourcefolder to sql database and after copying move those files to folder named Done.</p>
  
  <p>But when i run this, i get error:</p>
  
  <pre><code>[File System Task] Error: An error occurred with the following error message: "The process cannot access the file because it is being used by another process.".
  </code></pre>
  
  <p>Data gets copied to sqlserver , but file does not moves.</p>
  
  <p>My process tab is as follows:</p>
  
  <p><img src="https://i.stack.imgur.com/fslQg.png" alt="enter image description here"></p>