locked
How to download a file from URL in WINJS windows 8 metro applications RRS feed

  • Question

  • 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

    Monday, December 24, 2012 11:18 AM

Answers

All replies