STINNER Victor <victor.stin...@haypocalc.com> added the comment: Oh yes, FTP.storlines() fails if the file is a text file. Here is a patch. My patch encodes each line with self.encoding, which is latin1 by default.
---------- keywords: +patch nosy: +haypo Added file: http://bugs.python.org/file14866/ftplib.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue6822> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com