quote:
Originally posted by Felu
code:
function DonwloadFile(URL, LocalFile){
var FSO = new ActiveXObject('Scripting.FileSystemObject');
var LocalFile = fso.BuiltPath(LocalFile);
return Interop.Call('urlmon', 'URLDownloadToFileW', 0, URL, LocalFile, 0, 0);
}
What am I supposed to put on LocalFile? Path to the new file downloaded?