Download a File via JavaScript

Each of the following buttons implements a File Download in different ways using server calls from HTML.

Note: Not all of these will actually download the file, some may show the file in the browser.