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)
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")
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")
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)