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
Thnx m8
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!
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:
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