[Twisted-Python] FTP LIST
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. Greg
IFTPShell is the way you control the behavior of the FTP server. To exclude certain results from a directory listing, you would implement the `list´ method so that it has the necessary logic for performing that exclusion.
On Tue, 30 Dec 2008 20:55:11 +0000, Simply for IT
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
participants (2)
-
Jean-Paul Calderone
-
Simply for IT