Andrei Kulakov <andrei....@gmail.com> added the comment:
This is an issue with cowrie, I've commented on it here: https://github.com/cowrie/cowrie/issues/1394 . In short, cowrie overrides FTP class and opens `self.file` in binary mode. Various FTP methods will break or work incorrectly if `self.file` is in binary mode. This can be closed as not a bug. ---------- nosy: +andrei.avk _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue43418> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com