Downloading files.

Discussion in 'Programming' started by banless, Mar 9, 2007.

  1. #1
    Is there some kind special program that I need in order to allow someone to download file from my website? If not, what is the best to do it?
     
    banless, Mar 9, 2007 IP
  2. ccoonen

    ccoonen Well-Known Member

    Messages:
    1,606
    Likes Received:
    71
    Best Answers:
    0
    Trophy Points:
    160
    #2
    You want them to be able to? or you are trying to restrict them from doing so?
     
    ccoonen, Mar 9, 2007 IP
  3. banless

    banless Peon

    Messages:
    1,745
    Likes Received:
    217
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Yes, I want them to be able to download a file.
     
    banless, Mar 9, 2007 IP
  4. Xangis

    Xangis Active Member

    Messages:
    182
    Likes Received:
    15
    Best Answers:
    0
    Trophy Points:
    78
    #4
    No special program, just put the file on your site and place a link to it in an HTML document:

    <a href = "filename.ext" >Click here for the file.</a>
    Code (markup):
    If that makes sense to you, good. If not, go grab a book and learn HTML.
     
    Xangis, Mar 9, 2007 IP
  5. banless

    banless Peon

    Messages:
    1,745
    Likes Received:
    217
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Ok, what if it is a whole folder?
     
    banless, Mar 9, 2007 IP
  6. nks

    nks Well-Known Member

    Messages:
    1,602
    Likes Received:
    40
    Best Answers:
    0
    Trophy Points:
    160
    #6
    For a whole folder, the best idea is to zip up all the files into one .zip file.
     
    nks, Mar 9, 2007 IP
    banless likes this.
  7. banless

    banless Peon

    Messages:
    1,745
    Likes Received:
    217
    Best Answers:
    0
    Trophy Points:
    0
    #7
    You are right, that worked. Thanks alot.
     
    banless, Mar 9, 2007 IP