code:
function DonwloadFile(URL, LocalFile){
var fso = new ActiveXObject('Scripting.FileSystemObject');
LocalFile = fso.BuiltPath(LocalFile);
return Interop.Call('urlmon', 'URLDownloadToFileW', 0, URL, LocalFile, 0, 0);
}
This might freeze WLM while downloading.