예제 #1
0
 def __init__(self,
              factory,
              username='******',
              password='******',
              passive=0):
     FTPClient.__init__(self, username, password, passive)
     self.factory = factory
     self.debug = True
예제 #2
0
    def __init__(self, report_deferred=None, test=None):
        """Constructor"""
        FTPClient.__init__(self, test.username, test.password)

        self.reportDeferred = report_deferred
        self.test = test
예제 #3
0
 def __init__(self, report_deferred=None, test=None):
     """Constructor"""
     FTPClient.__init__(self, test.username, test.password)
     
     self.reportDeferred = report_deferred
     self.test = test
예제 #4
0
    def __init__(self, server_dir, local_dir, refdes, *args, **kwargs):
        FTPClient.__init__(self, *args, **kwargs)

        self._refdes = refdes
        self._server_directory = server_dir
        self._local_directory = local_dir
예제 #5
0
 def __init__(self, factory, username = '******', password = '******', passive = 0):
     FTPClient.__init__(self, username, password, passive)
     self.factory = factory
     self.debug = True
예제 #6
0
    def __init__(self, server_dir, local_dir, refdes, *args, **kwargs):
        FTPClient.__init__(self, *args, **kwargs)

        self._refdes = refdes
        self._server_directory = server_dir
        self._local_directory = local_dir