We are developing a windows 8 metro application using WinJS, in our application we need to download the files (.pdf,.doc, .png and .txt) files from the url .For this we tried to download the files using WinJS.xhr({ url: "http://121.243.26.106:8080/media/upload/itineraryitem_file/16/A.pdf"
}) provided by Microsoft but we are not getting the proper data in result, please let me know is there any other way to download the files to local app data folder without the save file prompt dialog.
Thanks in advance