[Twisted-Python] Twisted FTP: Data must not be unicode

Tobias Oberstein tobias.oberstein at tavendo.de
Thu Nov 24 07:07:12 MST 2011


> Rather than implementing an hard-coded conversion at lower level of FTP
> protocol implementation, you could write explicit unicode encoders to
> bytestream before making a call to FTP API.
> 
> By doing so you can have an FTP protocol, that beside UTF could also handle
> other encodings.

I'm not making calls to FTP protocol ... this is a FTP server and the errors pops
when the client does a DIR.






More information about the Twisted-Python mailing list