title: WinSCP Move file after upload with C#
body: <p>I am creating an SFTP upload program.  It is working great, it connects to the remote SFTP server and uploads the files as intended.  The issue I am having it I want the files once uploaded moved to a new directory on the local server.  I have searched WinSCP site and did google searches, but the code I am up with it not working.  Here is what I have:</p>
  
  <pre><code>foreach (TransferEventArgs transfer in transferResult.Transfers)
  {
      Console.WriteLine("Upload of {0} succeeded", transfer.FileName);
      session.MoveFile(transfer.FileName, Local_Processed);
  }
  </code></pre>
  
  <p>In the log it states that it is moving the files but the files remain in the original folder and nothing appears in the processed folder.</p>