51 users online (1 members and 50 guests)  


  Results 1 to 6 of 6

Related

  1. Replies: 4
  2. how do you make a download link?    Forum: HTML Forum
    Replies: 5
  3. Download link help please    Forum: HTML Forum
    Replies: 10
  4. download link    Forum: HTML Forum
    Replies: 4
  5. Replies: 2
  1. #1
    saiyansonic's Avatar
    New User

    Status
    Offline
    Join Date
    May 2003
    Location
    saiyansonic's hideout
    Posts
    2

    Question how do i zip for download link?

    argh i still dont know how to make a download link
    what i need is a clear message of how to do it plz cuz as you know im a newb

  2. #2
    Doorknob's Avatar
    Super Newbie

    Status
    Offline
    Join Date
    Jun 2002
    Location
    Malaysia
    Posts
    316
    if the file u want to link for download is test.zip then
    <a href='test.zip'>Download test.zip</a>

    make sure u get the url right. hope that helps

  3. #3
    benzden's Avatar
    Senior Member

    Status
    Offline
    Join Date
    Feb 2002
    Location
    San Antonio, Texas
    Posts
    652
    Note that so long as the .extension of the file is one not associated with an application/program on the user's computer, the Open here, download, ... pop-up box query should present itself when the link/URL is clicked.

    I'd imagine there is some sort of code that would force that query box to display regardless of the .extension, and I may have seen it but the hades if I can remember it or find it on my computer.

  4. #4
    Doorknob's Avatar
    Super Newbie

    Status
    Offline
    Join Date
    Jun 2002
    Location
    Malaysia
    Posts
    316
    no way to force the download file query as far as i know, but then again, i don't really know much

  5. #5
    Enigma's Avatar
    Senior Member

    Status
    Offline
    Join Date
    Nov 2000
    Posts
    426
    If you can modify how mime-types are handled on the server, you can force a download for a given file extension, I believe.

  6. #6
    QuietDean's Avatar
    Administrator

    Status
    Offline
    Join Date
    Oct 2000
    Location
    Bournemouth, UK
    Posts
    2,662
    Yes, you forge a header -

    Code:
    Content-type: octet-stream
    Buts its not reliable at all, 99 times out of a hundred its easier to ask the user to right-click and choose 'save target as..'
    If one of our members helps you, please click the icon to add to their reputation!
    No support via email or private message - use the forums!
    Before you ask, have you Searched?



Tags for this Thread