Get files from remotePath that are not in localPath using C# <p>I am using WINSCP functionality with an SSIS script task to move files from a remotePath to a localPath. I am also setting these files to readonly using: </p> <pre><code>File.SetAttributes(LocalPath, FileAttributes.ReadOnly); </code></pre> <p>This works to set the attributes, it is just that since I have pulled some data from the remotePath that is already on the localPath, the readonly attribute gets set back to 0 and the archive attribute gets set to 1.</p> <p>Is there an easy way that I can just pull the files from the remotePath that aren't already in the localPath?</p> <p>This would eliminate any overwriting of files and also fix my readonly / archive attributes situation</p>