# Downloads

**URL:** <https://forum.kirupa.com/t/downloads/8632>\
**Category:** programming\
**Created:** [November 25, 2002, 3:43pm UTC](https://forum.kirupa.com/t/downloads/8632 "2002-11-25T15:43:18Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Condor182](https://avatars.discourse-cdn.com/v4/letter/c/f4b2a3/32.png) [@Condor182](https://forum.kirupa.com/u/Condor182)\
**Post date:** [November 25, 2002, 3:43pm UTC](https://forum.kirupa.com/t/downloads/8632/1 "2002-11-25T15:43:18Z")

</div>

Hey I want to know.If I can upload a file on my site and make it  
downloadble for my site visitors.  
And if it’s possible I would like to know how it’s done.  
My adress is [http://condor182.madeo.nl](http://condor182.madeo.nl)  
Thnx m8  
🙂

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 25, 2002, 4:44pm UTC](https://forum.kirupa.com/t/downloads/8632/2 "2002-11-25T16:44:18Z")

</div>

well of course it is possible!  
just upload your file and make alink to it!

e.g.  
\< a href=http://www.yoursite.com/yourfile.sth \>link\< a/ \>

just replace the http:// url with your own domain and replace yourfile.sth with your file.  
e.g. painting.jpg  
that would make a button like this: link  
but it’s clickable and will download the thing

NB/PS… whatever! lose the spaces in the html code! leave only the “a href” space. lose the other spaces but this!

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 26, 2002, 6:18pm UTC](https://forum.kirupa.com/t/downloads/8632/3 "2002-11-26T18:18:54Z")

</div>

I think he was asking for code on how to force a file to be downloaded, rather than having IE decide how do deal with it

Well if your using an apache server, you could do this:

```php

AddType application/octet-stream .mp3

```

You would place that in a .htaccess file inside the root or whatever folder you wanted this to take effect in. Just remember that if you put it in the root, everything with .mp3 extention will be forced to be downloaded.

Cheers,  
Ashutosh
