For the sake of learning I'm writing some codes in C# to create an FTP client without GUI. For the connection I'm using the "FluentFTP" module from below link: https://github.com/robinrodricks/FluentFTP#connection I'm wondering how to detect idle user and disconnect them from the server. Should I use Async or Parallel programming? I'm knew to both of them, please refer me to some simple tutorial if that is the solution.
I can provide codes, but won't for now to keep it clean. My app tries to read IP, username, and password of the FTP server and connects to it, then does some regular stuff like upload and download files. Timeout can happen during data entry or at the page user decides what task wants to do, but shouldn't happen when files are being transmitted!