You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When on the FTP server the method StopAsync is called immediately after StartAsync, the method fails with the following exception:
---> (Inner Exception #0) System.InvalidOperationException: Status must be Running, Stopped, or Paused, but was ReadyToRun.
at FubarDev.FtpServer.Networking.PausableFtpService.<StopAsync>d__19.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.ConfiguredTaskAwaitable.ConfiguredTaskAwaiter.GetResult()
at FubarDev.FtpServer.FtpServer.<StopAsync>d__36.MoveNext()<---
In my opinion, it should also be possible to stop the FTP server in state "ReadyToRun".
The same issue occurs also when calling PauseAsync immediately after StartAsync.
The text was updated successfully, but these errors were encountered:
When on the FTP server the method StopAsync is called immediately after StartAsync, the method fails with the following exception:
In my opinion, it should also be possible to stop the FTP server in state "ReadyToRun".
The same issue occurs also when calling PauseAsync immediately after StartAsync.
The text was updated successfully, but these errors were encountered: