[Twisted-Python] FTP LIST

Jean-Paul Calderone exarkun at divmod.com
Tue Dec 30 15:59:48 EST 2008


On Tue, 30 Dec 2008 20:55:11 +0000, Simply for IT <simply4it at gmail.com> wrote:
><http://twistedmatrix.com/pipermail/twisted-python/2008-December/018932.html>
>
>Hi Jean-Paul,
>
>thank you for your reply.
>
>I need to implement a new IFTPShell, right?
>
>I have tried to create a new class (with a list method), which is
>inherited from IFTPShell class itself, but I cannot get it accepted by
>the realm I posted before.

IFTPShell is an interface.  You should not subclass it.  See
http://twistedmatrix.com/projects/core/documentation/howto/components.html
for a basic introduction to interfaces.

Jean-Paul




More information about the Twisted-Python mailing list