DaveJohnCole Posted May 27, 2013 Posted May 27, 2013 If anyone is having issues with android users being unable to download files, take a look at this page. http://www.digiblog.de/2011/04/android-and-the-download-file-headers/ It's old, but the issue with GET seems to be causing the problem. All solution are for php / apache and none seem appropriate for a secure system right now. Just throwing it out there. I know my users will need downloads across multiple devices.
nickbro Posted May 28, 2013 Posted May 28, 2013 Very interesting, looks like Android doesn't respect the correct file content type being transmitted, and needs it going as octet stream. Will look into this. Most of what's in that article is already done in HAP+ behind the scenes. Trust google to do things it own `standard` way
Arthur Posted May 28, 2013 Posted May 28, 2013 Would using the HTML5 download attribute make any difference? It's supported by both Chrome and Firefox, although unfortunately not the stock Android browser. The HTML5 download attribute allows developers to force a file to download rather than go to that specific page, you no longer need to rely on server-side code to do that: Download PDF Source: daker.me/2013/05/5-html5-features-you-need-to-know.html
nickbro Posted May 28, 2013 Posted May 28, 2013 Hi can someone try the attached MyFiles/Default.aspx file. I've told it to open the download in a new window. HAP+ just replies with octet-stream regardless of the filetype so that isn't an issue. I think it's because HAP+, by default, transmits it as a multipart download
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now