Switch back to a clear-text control connection.
(self)
| 758 | return resp |
| 759 | |
| 760 | def ccc(self): |
| 761 | '''Switch back to a clear-text control connection.''' |
| 762 | if not isinstance(self.sock, ssl.SSLSocket): |
| 763 | raise ValueError("not using TLS") |
| 764 | resp = self.voidcmd('CCC') |
| 765 | self.sock = self.sock.unwrap() |
| 766 | return resp |
| 767 | |
| 768 | def prot_p(self): |
| 769 | '''Set up secure data connection.''' |