Author rdevaughn
Recipients rdevaughn
Date 2009-09-02.13:01:27
SpamBayes Score 5.54935e-09
Marked as misclassified No
Message-id <1251896489.26.0.54536142072.issue6822@psf.upfronthosting.co.za>
In-reply-to
Content
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
History
Date User Action Args
2009-09-02 13:01:29rdevaughnsetrecipients: + rdevaughn
2009-09-02 13:01:29rdevaughnsetmessageid: <1251896489.26.0.54536142072.issue6822@psf.upfronthosting.co.za>
2009-09-02 13:01:27rdevaughnlinkissue6822 messages
2009-09-02 13:01:27rdevaughncreate