I need to copy only new files from SFTP location to a UNC path. To identify new files, I copied the files to a Processed
folder in SFTP after copying to UNC path is done.
Issue with this approach is if the copy to Processed
folder fails, how to make sure that file is not copied again to UNC path.