Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    tbr
    tbr is offline
    New Coder
    Join Date
    Sep 2005
    Location
    sweden
    Posts
    30
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Forcing download of mp3 instead of browser play?

    Hi, I've been getting some complaints from people who want to download my mp3s rather than listen to them in the browser. Is it possible to force the browser to save the file instead of playing it in a browser window? I don't want to compress it.

    Thanks!

  • #2
    New Coder
    Join Date
    May 2006
    Posts
    81
    Thanks
    0
    Thanked 11 Times in 11 Posts
    If you dont want to do something server side, why not just put up links to the file?
    Tell the user to right click the link and select "Save Link As..."

  • #3
    tbr
    tbr is offline
    New Coder
    Join Date
    Sep 2005
    Location
    sweden
    Posts
    30
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Yeah, it's just that for some people that doesn't work for some reason. I don't know if it is because they're too ignorant to understand how to do, or if there's some feature lacking in their browser, but they say they can't make it work. And writing "right click and choose save as" on the page will only cover a small percentage of browsers, as most have different wording for the same action, and those who didn't know how to do before will only be left even more confused.

    It would also save me some bandwidth, since they would click once and then have the file on their computer, instead of first listening to it perhaps and then click the link again to save it, or similar...

    But I don't even know, maybe it isn't even possible? Or maybe PHP is required, I don't really know.

  • #4
    Senior Coder Arbitrator's Avatar
    Join Date
    Mar 2006
    Location
    Splendora, Texas, United States of America
    Posts
    3,302
    Thanks
    28
    Thanked 276 Times in 270 Posts
    Compress the file with the *.zip extension. Then they have no choice but to download it if they wish to interact with the contained file(s).
    For every complex problem, there is an answer that is clear, simple, and wrong.

  • #5
    Regular Coder oldcrazylegs's Avatar
    Join Date
    Feb 2004
    Location
    East Moline Illinois USA
    Posts
    414
    Thanks
    4
    Thanked 5 Times in 4 Posts
    great zip utility gives you high compression
    http://www.7-zip.org/
    Last edited by oldcrazylegs; 05-03-2006 at 10:31 PM.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •