I want to download file from c drive using jquery on button click.
1) window.open('file:///C://foldername//Report.csv', '_blank');
2) window.location = 'file:///C://foldername//Report.csv';
var url = 'file:///C://foldername//Report.csv';
3 ) window.open(url, '_blank');
4) window.location = url;
only blank window open but not download