Hi,
I am trying to download a file in menu action js from a URL. If its a big file say 1GB, it takes more time and since no activity no browser, the browser times out after sometime.
Could I get some advise or snippet how to build a loading icon/progress bar in dojo so that the browser session stays alive or any parameter to do that.
I tried keeping timeout in xhr call as higher values, it doesnt work and the browser still times out.
Below Snippet how I am getting the data using xhr call.
var xhrArgs = {
url: URL,
sync: true,
timeout:84000
}
var deferred = dojo.xhrGet(xhrArgs);
#IBMContentNavigator(ICN)#Support#SupportMigration