コード例 #1
0
 def __init__(self, sock_obj, cmd_channel):
     DTPHandler.__init__(self, sock_obj, cmd_channel)
     if self.cmd_channel._prot:
         self.secure_connection(self.cmd_channel.ssl_context)
コード例 #2
0
ファイル: handlers.py プロジェクト: wuqunfei/ftper
 def __init__(self, sock_obj, cmd_channel):
     DTPHandler.__init__(self, sock_obj, cmd_channel)
     if self.cmd_channel._prot:
         self.secure_connection(self.cmd_channel.ssl_context)
コード例 #3
0
ファイル: handlers.py プロジェクト: wuqunfei/ftper
 def close(self):
     if self._ssl_established:
         return self._do_ssl_shutdown()
     DTPHandler.close(self)
コード例 #4
0
ファイル: handlers.py プロジェクト: iamtio/cwFTP
 def close(self):
     if self._ssl_established:
         return self._do_ssl_shutdown()
     DTPHandler.close(self)