Browse Source

Bug 1515: Internal InvalidOperationException on each call to Session.ListDirectory

https://winscp.net/tracker/1515

Source commit: 037416493e94f7830fd62fc3813fa1477f136194
Martin Prikryl 8 years ago
parent
commit
a70df32b13
1 changed files with 1 additions and 0 deletions
  1. 1 0
      dotnet/Session.cs

+ 1 - 0
dotnet/Session.cs

@@ -454,6 +454,7 @@ namespace WinSCP
                             }
                         }
 
+                        lsReader.ReadToEnd(LogReadFlags.ThrowFailures);
                         groupReader.ReadToEnd(LogReadFlags.ThrowFailures);
                     }
                     else