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)