How do I form the HTTP headers to DL a .CAB file?
-
I am getting server errors when trying to download a CAB file from a webserver. I think the problem is that the default headers don't allow for CAB file mime type. What string do I need to use in my call to CHttpFile.AddRequestheaders(); to get this file? I believe this is the problem, because if I change the URL to point to an HTML page, but leave everything else the same, then the file downloads just fine. Thanks! (I am also posting this in the Web Develpment forum)
//placeholder for witty verbiage
-
I am getting server errors when trying to download a CAB file from a webserver. I think the problem is that the default headers don't allow for CAB file mime type. What string do I need to use in my call to CHttpFile.AddRequestheaders(); to get this file? I believe this is the problem, because if I change the URL to point to an HTML page, but leave everything else the same, then the file downloads just fine. Thanks! (I am also posting this in the Web Develpment forum)
//placeholder for witty verbiage
does "GET /.../.../foo.cab" really not work? Don't try it, just do it! ;-)
-
does "GET /.../.../foo.cab" really not work? Don't try it, just do it! ;-)
You won't believe this - when I read your response I changed my mindset from "Why does it work with an HTM file but not a CAB file" to "It is supposed to work with a CAB file, so what else could be wrong?" because of the way you worded it :) Thanks! When I changed the #define from my clients production server to my test server, I forgot to change the #define'd path from my client's path to the path on my server :-O Of course it works just fine now :) Thanks for the push in the right direction!
//placeholder for witty verbiage