[issue25491] ftplib.sendcmd only accepts string

2016-01-14 Thread SilentGhost
Changes by SilentGhost : -- nosy: +giampaolo.rodola versions: +Python 3.6 -Python 3.4 ___ Python tracker ___

[issue25491] ftplib.sendcmd only accepts string

2015-10-27 Thread wozlaf
New submission from wozlaf: The FTP server (ProFTPD 1.3.5a) returns some file and folder names not properly encoded in UTF-8, when requesting with FTP command "MLSD" and "OPTS UTF8 ON". To access I need to send them back to the server exactly as they came (bytes) with ftp.sendcmd(b"CWD" +