Can you add a method to check if a connection can be made.
The simplest way to test a connection is to use PrintWorkingDirectory, which means you get a double request to the server like so
Request: PWD
Response: 257 "/Home/"
Request: PWD
Response: 257 "/Home/"