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

Tobias Oberstein tobias.oberstein at tavendo.de
Fri Nov 25 01:19:28 MST 2011


> > Cool, that seems much more reasonable.  It would be great if you could
> > file a ticket for this.  Thanks!

http://twistedmatrix.com/trac/ticket/5411

> The source of this evil is FTPAnonymousShell.list as this is the entry point for
> the file name.
> FTPAnonymousShell.list

Yep, I see.

The patch above does the fix at the mediating function

ftp.DTP. _formatOneListResponse

which is not the entry point above, but has the charme that it's really
minimally invasive.




More information about the Twisted-Python mailing list