I'm developing a C#.NET (.NET-Framework 4.5.2) WinForms client consuming WinSCPNet assembly (scripting interface .NET wrapper).
Whenever I call
Session.EnumerateRemoteFiles(string path, string mask, EnumerationOptions options)
after sucessfully establishing an FTP session to the host, a System.InvalidOperationException is thrown in background, but the client keeps on running.
See the stack trace as follows
Element already read to the end
at WinSCP.ElementLogReader.Read(LogReadFlags flags)
When using the recursive enumeration by
I'm working with WinSCPNet version 18.104.22.16836 on .NET-Framework 4.5.2.
The OS of my machine is Windows 10 Pro, 64-Bit edition.
Please find in enclose zip-archive the WinSCP session log and debug log files.
May I kindly ask for your assistance. Thx a lot in advance for any suggestions.