code: def getAllFtpConnections(self):
          
          outputMsg = "Current ftp connections:\n"
          counter = 1
          for k in self.ftpList:
              outputMsg += str(counter) + ". " + k + " "
              outputMsg += str(self.ftpList[k]) + "\n"
              counter += 1
          if self.printOutput:
              logger.info(outputMsg)
          return self.ftpList
docs: Returns a dictionary containing active ftp connections.