How to track when a file is fail to transfer?
According to the sample code in C# from this link > https://winscp.net/eng/docs/library#csharp, there is a piece that tracking whether the file is successfully transfer. As shown here:
I did some experiment on this code, I found out that this code unable to track when the file was fail to transfer. May I know how could I track when a file is failed to transfer?
// Print results foreach (TransferEventArgs transfer in transferResult.Transfers) { Console.WriteLine("Upload of {0} succeeded", transfer.FileName); }
I did some experiment on this code, I found out that this code unable to track when the file was fail to transfer. May I know how could I track when a file is failed to transfer?