code: def download_from_url(url, destination_path,
                        force=False, aspera=False, silent=False):
      
      if aspera and url.startswith("http"):
          logger.warn("Aspera Connect allows only FTP servers - falling back to "
                      "normal download")
          aspera = False
  
      try:
          fn = Downloader(
              url,
              outdir=os.path.dirname(destination_path))
          if aspera:
              fn.download_aspera(
                  user="anonftp",
                  host="ftp-trace.ncbi.nlm.nih.gov",
                  silent=silent)
          else:
              fn.download(silent=silent, force=force)
      except URLError:
          logger.error("Cannot find file %s" % url)
docs: Download file from remote server.
  
      If the file is already downloaded and  ``force`` flag is on the file will
      be removed.
  
      Args:
          url (:obj:`str`): Path to the file on remote server (including file
              name)
          destination_path (:obj:`str`): Path to the file on local machine
              (including file name)
          force (:obj:`bool`): If file exist force to overwrite it. Defaults to
              False.
          aspera (:obj:`bool`): Download with Aspera Connect. Defaults to False.
          silent (:obj:`bool`): Do not print any message. Defaults to False.