Beispiel #1
0
def dispatchDescriptor(descriptor_file):
    print("Unpacking Descriptor...")
    descriptor_file = open(descriptor_file, 'rb')
    descriptor = pickle.load(descriptor_file)
    command = 'download ' + descriptor.getFileName()
    fileClient.requestFile(descriptor.getFileHost(), descriptor.getFileName(),
                           [command], 9876)
Beispiel #2
0
 def dispatchDescriptor(self, descriptor_file):
     print("Unpacking Descriptor...")
     descriptor_file = open(descriptor_file, 'rb')
     descriptor = pickle.load(descriptor_file)
     command = 'download ' + descriptor.getFileName()
     fileClient.requestFile(descriptor.getFileHost(),
                            descriptor.getFileName(), [command], 9876)
     self.setStatus("Downloaded File. Check Directory")
Beispiel #3
0
 def dispatchDescriptor(self, descriptor_file):
     print("Unpacking Descriptor...")
     descriptor_file = open(descriptor_file, 'rb')
     descriptor = pickle.load(descriptor_file)    
     command = 'download '+descriptor.getFileName()
     fileClient.requestFile(descriptor.getFileHost(),
                        descriptor.getFileName(),
                        [command], 9876)
     self.setStatus("Downloaded File. Check Directory")
         
Beispiel #4
0
def dispatchDescriptor(descriptor_file):
    print("Unpacking Descriptor...")
    descriptor_file = open(descriptor_file, 'rb')
    descriptor = pickle.load(descriptor_file)    
    command = 'download '+descriptor.getFileName()
    fileClient.requestFile(descriptor.getFileHost(), descriptor.getFileName(), [command], 9876)