Re: InvalidOperationException thrown at Session.EnumerateRemoteFiles in WinSCPNet
This issue has been added to the tracker:
https://winscp.net/tracker/1515
https://winscp.net/tracker/1515
Before posting, please read how to report bug or request support effectively.
Bug reports without an attached log file are usually useless.
Thanks for your report.
Can you post a complete callstack of the exception?
Session.EnumerateRemoteFiles(string path, string mask, EnumerationOptions options)
EnumerationOptions.AllDirectories