code: def download_from_url(job, url):
      
      work_dir = job.fileStore.getLocalTempDir()
      file_path = os.path.join(work_dir, os.path.basename(url))
      if not os.path.exists(file_path):
          if url.startswith('s3:'):
              download_from_s3_url(file_path, url)
          else:
              try:
                  subprocess.check_call(['curl', '-fs', '--retry', '5', '--create-dir', url, '-o', file_path])
              except OSError:
                  raise RuntimeError('Failed to find "curl". Install via "apt-get install curl"')
      assert os.path.exists(file_path)
      return job.fileStore.writeGlobalFile(file_path)
docs: Simple curl request made for a given url
  
      url: str    URL to download