I would like to use TLS to login, but then turn it off after that for both the control channel and the data channel. I tried this:
The first command after that was to GetCurrentRemoteDir, and it failed:
It looks like there is a mismatch between what the client expects in terms of encrypted versus non-encrypted text.
What is the recommended way to achieve TLS for the authentication only, then no encryption for all further traffic on both the control and data channels? Is it possible?
I'll have to give this a test. However, make sure to check the return value of ClearControlChannel. If it failed, then examine the LastErrorText.
answered Oct 07 at 19:34