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