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 3 of 3
  1. #1
    New Coder
    Join Date
    Sep 2005
    Location
    Illinois
    Posts
    39
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Cool How to allow files to be downloaded

    Hey, I was just wondering how I could make something available for download on my website. If any of you know and could tell me I'd appreciate it.
    Thanks,

    Alvis
    What is the meaning of life, the universe and everything?

  • #2
    Senior Coder
    Join Date
    Nov 2002
    Location
    North-East, UK
    Posts
    1,265
    Thanks
    0
    Thanked 0 Times in 0 Posts

  • #3
    Regular Coder devinemke's Avatar
    Join Date
    Dec 2004
    Location
    NYC
    Posts
    443
    Thanks
    0
    Thanked 12 Times in 11 Posts
    just to be clear: any file that is in a public directory on a webserver and has world readable permissions and is not hidden behind some server level authorization will be available for "download" (that is to say available to be copied from the server to the client). all you need to do is link to the file (or make the URL known). how the client handles in incoming data is up the user agent (browser). if you wish to force a download file dialog box then use the script that degsy pointed out.


  •  

    Posting Permissions

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