Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: On the Handling of Filetypes in Browsers, and the Overriding of Such

  1. #1
    Join Date
    Jan 2009
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default On the Handling of Filetypes in Browsers, and the Overriding of Such

    Hi everyone, I’m new using HTML and was wondering if I can create a link, like DOWNLOAD have the download window come up to download .mp3 / .wav files ….

    Thanks for any help …..
    Last edited by Twey; 01-31-2009 at 03:39 AM.

  2. #2
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    Yes, you can.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  3. #3
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Quote Originally Posted by Twey View Post
    Yes, you can.
    Twey, Twey! . . . I think they were asking how. Do you know? I sure don't, not offhand, as generally the browser will do as it is configured with a link to an audio file, generally out of the control of the web designer, generally it will play the file, not launch a download dialogue.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  4. #4
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    Twey, Twey! . . . I think they were asking how. Do you know?
    Indeed I do! At least insofar as such a thing is possible.

    However, things like server configuration are relevant. I have to say that this is possibly the most unhelpful topic title I have ever seen, and I was torn between just changing it and giving a reply in the same vein. I think the latter option won.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  5. #5
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Quote Originally Posted by Twey View Post
    Indeed I do! At least insofar as such a thing is possible.

    I have to say that this is possibly the most unhelpful topic title I have ever seen
    'Nuff said. I do the same sort of thing at times. I didn't realize that you had edited the title. The original post itself was, well - weird, to say the least.

    Anyways, the simple answer (using just HTML) is to archive the audio file as a .zip file. Most browsers will launch a download dialogue for that.

    You could have (still can) move the thread to a more appropriate forum though.

    If you do, feel free to edit/delete my contributions so far.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  6. #6
    Join Date
    Oct 2008
    Location
    Sweden
    Posts
    2,023
    Thanks
    17
    Thanked 319 Times in 318 Posts
    Blog Entries
    3

    Default

    @ukvet - Take a look at this article:
    http://classicasp.aspfaq.com/general/how-do-i-prompt-a-save-as-dialog-for-an-accepted-mime-type.html

    Good luck!

    @Twey - You made me curious now, what was the thread title? I'm guessing something like "Can I?"

  7. #7
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    No, it was 'ukvet'.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  8. #8
    Join Date
    Oct 2008
    Location
    Sweden
    Posts
    2,023
    Thanks
    17
    Thanked 319 Times in 318 Posts
    Blog Entries
    3

    Default

    Quote Originally Posted by Twey View Post
    No, it was 'ukvet'.
    "Can I?" was the least descriptive I could think of, but that beats it by miles.

  9. #9
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Quote Originally Posted by Snookerman View Post
    Sounds complicated, can you do that in PHP?
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  10. #10
    Join Date
    Oct 2008
    Location
    Sweden
    Posts
    2,023
    Thanks
    17
    Thanked 319 Times in 318 Posts
    Blog Entries
    3

    Default

    Quote Originally Posted by jscheuer1 View Post
    Sounds complicated, can you do that in PHP?
    I don't know, but if it is possible, it's beyond my capabilities, I'm still in the learning stages of PHP.

Tags for this Thread

Bookmarks

Posting Permissions

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