1
purge
JAR filetype
  • 2006/9/2 10:48

  • purge

  • Just popping in

  • Posts: 3

  • Since: 2006/9/2 1


Newb to CMS' XOOPS looked great for my needs. Now for the problem.

Im wanting to allow JAR (mobile java applications) files to be downloaded from XOOPS but for some reason the file gets renamed to ZIP? On the server and XOOPS the file stays blah.JAR but when you click to download it ends up being blah.ZIP. I have a feeling this will be something I edit on the server, but dont know.

2
McDonald
Re: JAR filetype
  • 2006/9/2 12:40

  • McDonald

  • Home away from home

  • Posts: 1072

  • Since: 2005/8/15


Not sure about this one, but you can try the following.
Open the file class/mimetype.inc.php in a texteditor.
Add the following line to the array:

"jar"      => "application/x-compressed",


See here for extensions (I mean file extensions).

3
Quest
Re: JAR filetype
  • 2006/9/2 13:04

  • Quest

  • Friend of XOOPS

  • Posts: 1034

  • Since: 2005/11/19


I did a search on google about this not to long ago. It seems it is a browser thing which is related to XP just trying to be helpfull.

4
purge
Re: JAR filetype
  • 2006/9/12 4:39

  • purge

  • Just popping in

  • Posts: 3

  • Since: 2006/9/2 1


Thanks for the replies.
Ive been unable to find away around this, as the OS and browser is out of my control. Changing the mimetype doesnt help even if I put in junk.

Login

Who's Online

388 user(s) are online (277 user(s) are browsing Support Forums)


Members: 0


Guests: 388


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits