OS: Windows Server 2008
App Coded in VS2012, 32 bit
Summary: I have to pick up a file via SFTP that is placed there every 30 minutes. I would like to leave the copy there rather than remove it. No matter which way I set the flag on session.GetFiles it deletes.
Oddness: If I use the same code to pick up a copy of the file _that I placed there_ the copy deletes or does not delete appropriately <= makes me think the rights on the files are different, but they appear to be the same in both the log files and the WinSCP application.
TransferOptions transferOptions = new TransferOptions();
transferOptions.TransferMode = TransferMode.Ascii;
session.GetFiles(remotePath, localPath, false, transferOptions).Check();