Re: How to find how many files were put/get in a session
Session.GetFiles
and Session.PutFiles
return TransferOperationResult
.
https://winscp.net/eng/docs/library_transferoperationresult
Use
TransferOperationResult.Transfers.Count
to learn number of transferred files.