Sftp.Settings.RestoreDateTime property does not specify a DateTime value. It's used to specify which of the date/time attributes of the file to restore to values retrieved from the server. To set the downloaded file's LastWriteTime to a custom value, just call System.IO.File.SetLastWriteTime("readme.txt", devFile.LastWriterTime) after the GetFile method completes.