Beispiel #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 = ''
Beispiel #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)
Beispiel #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)
Beispiel #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]
Beispiel #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]