New submission from Robert DeVaughn <rdevau...@gmail.com>: When attempting to store a file via FTP, the following error occurs. See attached code.
Traceback (most recent call last): File "C:\Documents and Settings\rdevaughn\Desktop\HTTP\src\FTP_directory.py", line 14, in <module> ftp.storlines("STOR source.txt",f) File "C:\Python30\lib\ftplib.py", line 477, in storlines if buf[-1] in B_CRLF: buf = buf[:-1] TypeError: Type str doesn't support the buffer AP ---------- components: Library (Lib) files: module.txt messages: 92166 nosy: rdevaughn severity: normal status: open title: Error calling .storlines from ftplib type: compile error versions: Python 3.0 Added file: http://bugs.python.org/file14820/module.txt _______________________________________ 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