(self)
| 775 | return conn, size |
| 776 | |
| 777 | def abort(self): |
| 778 | # overridden as we can't pass MSG_OOB flag to sendall() |
| 779 | line = b'ABOR' + B_CRLF |
| 780 | self.sock.sendall(line) |
| 781 | resp = self.getmultiline() |
| 782 | if resp[:3] not in {'426', '225', '226'}: |
| 783 | raise error_proto(resp) |
| 784 | return resp |
| 785 | |
| 786 | __all__.append('FTP_TLS') |
| 787 | all_errors = (Error, OSError, EOFError, ssl.SSLError) |
nothing calls this directly
no test coverage detected