Can anyone provide me sample to code to update a file and then output the console or anywhere for that matter the status of the transaction?
using (var file = File.OpenRead(localFileName))
using (var file = File.OpenRead(localFileName))
{
Console.WriteLine("\rUploading --> " + remoteFileName);
sftp.UploadFile(file, remoteFileName);
// display to console status of Upload file
}