Esempio n. 1
0
 def __init__(self, url, password, server, fileList):
     FileConnector.__init__(self, url, password, server, fileList)
     self.remoteFilePath = self.fileList[0]
     if len(self.fileList) == 2:
         self.localFilePath = self.fileList[1]
     else:
         self.localFilePath = ''
Esempio n. 2
0
 def __init__(self, url, password, server, fileList, timeout):
     FileConnector.__init__(self, url, password, server, fileList, timeout)
     self.remoteFilePath = self.fileList[0]
     if len(self.fileList) == 2:
         self.localFilePath = self.fileList[1]
     else:
         self.localFilePath = os.path.basename(self.remoteFilePath)
Esempio n. 3
0
 def __init__(self, url, password, server, fileList, timeout):
     FileConnector.__init__(self, url, password, server, fileList, timeout)
     self.remoteFilePath = self.fileList[0]
     if len(self.fileList) == 2:
         self.localFilePath = self.fileList[1]
     else:
         self.localFilePath = os.path.basename(self.remoteFilePath)
Esempio n. 4
0
 def __init__(self, url, password, server, fileList, timeout):
     FileConnector.__init__(self, url, password, server, fileList, timeout)
     self.localFilePath = self.fileList[0]
     self.remoteFilePath = self.fileList[1]
Esempio n. 5
0
 def __init__(self, url, password, server, fileList, timeout):
     FileConnector.__init__(self, url, password, server, fileList, timeout)
     self.localFilePath = self.fileList[0]
     self.remoteFilePath = self.fileList[1]