David Peters wrote:
Hi, I'd like to chime in on this topic. It would be very helpful to be able to disable the XML log from the .NET library.
My process goes through about 300000 files, uploading each. During testing I found that my program got slower and slower... via Visual Studio profiler and ILSpy I saw that most of the program's time was spent parsing the ever-growing XML file.
My solution is going to be to periodically dispose of my Session but this is obviously not the ideal approach. Thanks for your work on this very useful library, and I hope you consider this suggestion.
Thanks for your feedback. I cannot "disable the XML log from the .NET library" as the XML log is a way WinSCP communicates back to the assembly. Though I understand your issue and will try to optimize WinSCP for this.