Hey All,
I am having a problem with a little project I am working on. It invovles uploading files (midi, wav, mp3 etc...) to the web and downloading onto a cell phone via WAP. So far life has been sweet and the project was going fine. Until I actually tried to download the file. WAV and MIDI seems to work fine, but they do not download. When I click the link for the file (ex: http:/www.domain.com/file.midi) it actually plays the file in the browser without downloading to the phone. Is there a way I can 'force' download? Maybe my MIME types are set incorrectly. Any suggestions?
Thanks in advance.
My current HTACCESS file
AddType text/vnd.sun.j2me.app-descriptor jad
AddType application/java-archive jar
AddType text/vnd.wap.wml wml
AddType audio/amr amr
AddType audio/midi mid
AddType audio/midi midi
AddType application/vnd.Nokie.ringing-tone rng
AddType application/vnd.symbian.install sis
AddType application/vnd.wap.wmlc wmlc
AddType text/vnd.wap.wmlscript wmls
AddType text/vnd.wap.wmlscript wmlsc
AddType application/vnd.wap.sic sic
AddType text/vnd.wap.si si
AddType text/vnd.wap.sl sl
AddType application/vnd.wap.slc slc
AddType text/x-vCalendar vcs
AddType text/v-vCard vcf
AddType application/vnd.nokia.gamedata nqd
AddType application/x-nokiagamedata ngd
AddType image/vnd.wap.wbmp wbmp
AddType image/x-bmp bmp
AddType image/x-epoc-mbm mbm
AddType image/vnd.nok-3dscreensaver n3a
AddType text/x-co-desc cod
AddType image/vnd.nok-oplogo-colornokia-op-logo nok
AddType application/x-pmd .pmd
AddType audio/vnd.qcelp .qcp
AddType application/x-smaf .mmf
~ Parse-error