Function downloadFile

  • Download a file in the browser.

    Parameters

    • b: File

      file to download

    • Optional name: string

      name of the file (optional)

    Returns void