[issue43418] FTPLib error when server returns byte message instead of string

2021-12-04 Thread Andrei Kulakov
Andrei Kulakov added the comment: Closing as third party. Cowrie overrides ftplib.FTP class and implements __init__ in a way that doesn't work properly with some other methods of `FTP` class. -- resolution: -> third party stage: -> resolved status: open -> closed _

[issue43418] FTPLib error when server returns byte message instead of string

2021-07-03 Thread Andrei Kulakov
Andrei Kulakov 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

[issue43418] FTPLib error when server returns byte message instead of string

2021-03-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: An exception exit is not a 'crash' for this tracker. The latter is an indefinite hang or a no-exception stackoverflow or the Windows equivalent error box (or worse). The linked issue appears to show an exception exit. -- title: FTPLib module crashe