This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author pitrou
Recipients amaury.forgeotdarc, giampaolo.rodola, pitrou, rdevaughn, vstinner
Date 2010-08-04.10:49:31
SpamBayes Score 2.6149855e-06
Marked as misclassified No
Message-id <1280918974.55.0.487870737205.issue6822@psf.upfronthosting.co.za>
In-reply-to
Content
To me this isn't a bug, and the patch introduces incorrect behaviour. If you want to store data on an FTP server, you have to provide binary data, not text data. The FTP class is not supposed to guess in which charset your data should be encoded.

(the "encoding" argument on the FTP class is meant for protocol commands (such as file names), not for file contents)
History
Date User Action Args
2010-08-04 10:49:34pitrousetrecipients: + pitrou, amaury.forgeotdarc, vstinner, giampaolo.rodola, rdevaughn
2010-08-04 10:49:34pitrousetmessageid: <1280918974.55.0.487870737205.issue6822@psf.upfronthosting.co.za>
2010-08-04 10:49:32pitroulinkissue6822 messages
2010-08-04 10:49:32pitroucreate