I have a requirement to download a website static file like the below examples and directly save in my local computer machine in some input path given (ex:c:\\My Documents)
http://yahoo.com/myuri/mypath/myfile.img
http://yahoo.com/myuri/mypath/myfile.xls
http://yahoo.com/myuri/mypath/myfile.pdf
http://yahoo.com/myuri/mypath/myfile.txt

this whole operation should not open any dialog box, any prompt to save. The whole operation of opening the given online file path and saving them should happen through code. Can i achieve this in javascript or Jquery ? If so please give me the direct sample code with code library inclusions.