[Twisted-Python] Conch as a file transfer server

Andrew Bennetts andrew at bemusement.org
Sun Nov 7 15:55:12 EST 2010

Jonathan Lange wrote:
> On Sun, Nov 7, 2010 at 12:09 PM, Laurens Van Houtven <lvh at laurensvh.be> wrote:
> > Okay, tried to learn something out of that. If I understand correctly
> > SSHSession is the low-level thing that actually handles SSH-specific
> > gunk, and ISession is the customizable thing. File transfer was
> > implemented separately. When something wants file transfer, Conch
> > tries to adapt the avatar to ISFTPServer instead of ISession. Is that
> > right?
> >
> Yeah, that sounds right, although I'm not going to look up the code to
> double check.
> You want the ISession around to handle non-SFTP connections: shell
> requests, command exec etc.

...and opening of subsystems, like SFTP, IIRC?


More information about the Twisted-Python mailing list