Jump to content

WM IE opens cab files as text! WHY?


Guest sleewok

Recommended Posts

Guest sleewok

Whenever I try to download a cab file directly to my WM5 smartphone it opens to another page showing text for the cab file. Why won't it download the friggin thing?

THanks for any help.

Lee

Link to comment
Share on other sites

Guest m@...
I can't download CAB file from my own site directly to phone but can do so when CABs are from another site (for example airfagev.com)

http://www.gpcarreon.com/MobileChat_SP_QVGA.CAB

http://www.airfagev.com/myapps/MobileChat_SP_QVGA.CAB

So maybe it could be server-side issue? :)

Yes its a server side issue. Its to do with the MINE types being displayed in the browser. You need a .htaccess file in the same folder as the *.cab files...

Create a .txt file with below as its contents, move to your folder with the cab files in it and rename to .htaccess - Now reload the web page and you should be able to download cabs direct in PIE.

AddType application/octet-stream .cab 

AddType application/cab .cab

AddType application/x-compress .cab

AddType application/x-compressed .cab

AddType zz-application/zz-winassoc-cab .cab

AddType application/vnd.ms-cab-compressed .cab

Check these links out

http://www.sprintpcsinfo.com/content/view/27/

http://www.javascriptkit.com/howto/htaccess.shtml

http://www.javascriptkit.com/howto/htaccess9.shtml

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.