def __init__(self, channel, name, server, sftp_si=SFTPServerInterface, *largs, **kwargs):
BaseSFTP.__init__(self)<EOL>SubsystemHandler.__init__(self, channel, name, server)<EOL>transport = channel.get_transport()<EOL>self.logger = util.get_logger(transport.get_log_channel() + '<STR_LIT>')<EOL>self.ultra_debug = transport.get_hexdump()<EOL>self.next_handle = <NUM_LIT:1><EOL>self.file_table = { }<EOL>self.folder_table = { }<EOL>self.server = sftp_si(server, *largs, **kwargs)<EOL>
The constructor for SFTPServer is meant to be called from within the
L{Transport} as a subsystem handler.  C{server} and any additional
parameters or keyword parameters are passed from the original call to
L{Transport.set_subsystem_handler}.

@param channel: channel passed from the L{Transport}.
@type channel: L{Channel}
@param name: name of the requested subsystem.
@type name: str
@param server: the server object associated with this channel and
    subsystem
@type server: L{ServerInterface}
@param sftp_si: a subclass of L{SFTPServerInterface} to use for handling
    individual requests.
@type sftp_si: class