VB.NET: How to interpret Upload Results
I've been using WinSCP for years, but this is the first time I've done it using a .NET assembly.
I'm in the process of writing an application which will automatically generate a file and then transfer them to a supplier's sFTP site. I've managed to get pretty much everything written, but now I want to be able to verify that the upload was successful. Since this application is going to be running constantly and generating files as and when the need arises, it'll effectively be unattended and therefore I'd want to be able to populate information into a SQL database table which shows the success (or otherwise) of each stage in the process.
The code that I've written in VB.net creates new SessionOptions, Session, TransferOptions and TransferOperationResult objects and populates those as needed. I'd hoped there might be a member of TransferOperationResult which would tell me the success/failure status of the transfer in progress, preferably with some supporting information if the transfer failed. So far though, I've been unable to find anything.
If anyone can provide me with details of where I need to look, I'll be extremely grateful.
TIA
Is there any way of catching the status of an upload? I've tried various