Switch back to a clear-text control connection.
(self)
| 736 | return resp |
| 737 | |
| 738 | def ccc(self): |
| 739 | '''Switch back to a clear-text control connection.''' |
| 740 | if not isinstance(self.sock, ssl.SSLSocket): |
| 741 | raise ValueError("not using TLS") |
| 742 | resp = self.voidcmd('CCC') |
| 743 | self.sock = self.sock.unwrap() |
| 744 | return resp |
| 745 | |
| 746 | def prot_p(self): |
| 747 | '''Set up secure data connection.''' |