FtpServer icon indicating copy to clipboard operation
FtpServer copied to clipboard

IFTPServer.Status Never Resets

Open Taullarcis opened this issue 3 years ago • 1 comments

I am using this project in a way that needs to allow for modification of the IP, port, and authentication without stopping the application and I am needing to avoid using multiple ServiceCollections.

As it currently stands this code is dependent upon using its own ServiceCollection to allow for this to function as once the Stop() or StopAsync() method are called the IFTPServer.Status never reverts back to a state that will allow the server to be run again.

Would it be possible to implement some way that will allow for the server to be updated and reset without requiring a rebuilt service collection?

Taullarcis avatar Jul 27 '22 17:07 Taullarcis

No, it's not possible (yet) due to the way the source code is currently designed. I'll leave this issue open as a reminder for future development.

fubar-coder avatar Aug 04 '22 07:08 fubar-coder