[issue6822] Error calling .storlines from ftplib

STINNER Victor report at bugs.python.org
Tue Sep 8 23:59:24 CEST 2009


STINNER Victor <victor.stinner at 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 <report at bugs.python.org>
<http://bugs.python.org/issue6822>
_______________________________________


More information about the Python-bugs-list mailing list