Commit eb228467 authored by Roque Porchetto's avatar Roque Porchetto

Changes in download link.

parent 1288c8c8
......@@ -4,8 +4,11 @@
XMLHttpRequest, location, console) {
"use strict";
function download(context, evt) {
//<a href="path/to/file" download>Click here to download</a>
//Content-Type: application/octet-stream
//Content-Disposition: attachment; filename="picture.png"
var link = document.createElement('a');
link.download = "download_script.zip";
link.download = "download_tool.zip";
link.href = "https://softinst75195.host.vifib.net/erp5/data_stream_module/embulk_download_script/getData";
link.click();
//var url = "https://softinst75195.host.vifib.net/erp5/data_stream_module/embulk_download_script/getData";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment