Click to See Complete Forum and Search --> : How can you download?


madmitch94
07-23-2006, 12:59 PM
I need a smart person,I need to know how you can allow people to download objects on your website?

ray326
07-23-2006, 03:46 PM
<a href="somethingtodownlode.ext">Something to download</a>

madmitch94
07-23-2006, 07:55 PM
oh my gosh! I didn't know it was that easy,thank-you!!

madmitch94
07-23-2006, 07:59 PM
can you do it with out the .ext tag,if not can you tell me how to convert it?

NogDog
07-23-2006, 08:12 PM
If you link to a file type that the browser doesn't "know" how to display, then it will prompt to download it. If you want to force a file to be downloaded even if it's a file that the browser knows how to display, then you need to do something on the server side to force it to be downloaded. The options depend on what type of web server is being used and what server-side technologies are available to you. If running under Apache web server, probably the easiest thing is to put any file that is to be downloaded into a specific directory which is only to contain downloadable files, and add a .htaccess file to that directory with the following line:

ForceType applicaton/octet-stream

madmitch94
07-23-2006, 09:34 PM
wow..........