Xmlhttp download binary file




















Improve this question. Community Bot 1 1 1 silver badge. Did you try use base64 encode? This is why xhr. Yep that explains what I'm seeing. I guess there is no portable way to download binary data using XHR. Add a comment. Active Oldest Votes. Improve this answer.

I would love to offer you a free beer for posting that link — Rishul Matta. This is the most easiest way of allowing users to download a file. But in some cases the web application may want to handle the download part itself, rather than leaving it to the browser.

It may have its own reasons like showing the download progress of the file in the applicaton's UI itself. Another reason may be monetization - the application can show an advertisement to the user while the file is being downloaded. Unlock 1 Answer and 8 Comments.

Andrew Hancock - VMware vExpert. See if this solution works for you by signing up for a 7 day free trial. What do I get with a subscription? With your subscription - you'll gain access to our exclusive IT community of thousands of IT pros.

We can't always guarantee that the perfect solution to your specific problem will be waiting for you. If you ask your own question - our Certified Experts will team up with you to help you get the answers you need. Who are the certified experts? Jump to content. You currently have javascript disabled. Several functions may not work. Please re-enable javascript to access full functionality. Community Forum Software by IP. Sign In Create Account. AutoHotkey Forums Members. Facebook Twitter.



0コメント

  • 1000 / 1000