DownloadFileAuto

DownloadFileAuto function

Make a link in HTML to download the file and start download after 2 seconds.

function DownloadFileAuto(
    filename,
    mime 
)

Parameters

  • fileName file name
  • mime string “mime/type”

Remarks

Doesn’t work in Web Worker.