public void ClearControlChannel()Public Sub ClearControlChannelpublic:
void ClearControlChannel()member ClearControlChannel : unit -> unit After this command is issued, the server will continue the control connection in plaintext, expecting the next command from the client to be in plaintext. This command is often used in conjunction with firewalls, which need to be able to inspect the control channel to open data channel ports in the firewall. This can only be done if the control channel is not encrypted.
The server will not accept any more PBSZ or PROT commands. All subsequent data transfers must be protected with the current PROT settings.
If things appear to hang here, set the ServerCompatibility property to SecureFTPCompatibilityFlags.SSLDisableControlWaitOnShutdownSSL