Suppose, I\'ve a FTP URL (ftp://xyz.org/file.zip). If I type this in the browser manually, then hit enter, the browser will start to download the file.zip
At the most basic just make a link like this:
Download in new tab/window
In JS just open a window with that url.