Some website help needed!

pcgamer321

Member
Jan 22, 2008
179
0
0
Well, I have a question. When I set up the download link on my site, and I click on it, it does not work. I have to right click, and click save link as to download. Now, how do I make it so when I left click, the download manager on the browser pops up instead, basically ability to download with one click.

Thanks.
 

gorcorps

aka Brandon
Jul 18, 2004
30,741
456
126
Pretty sure that's not a website thing, that's a browser setup thing.
 

pcgamer321

Member
Jan 22, 2008
179
0
0
Then why does it happen to my site only....
I downloaded things from many sites before, only had to right click save link once.
 

NanoStuff

Banned
Mar 23, 2006
2,981
1
0
You have to set the Content-Disposition of the response to attachment. This should not usually be necessary, but apparently your browser tries to make an attempt at rendering the file format.
 

DeviousTrap

Diamond Member
Jul 19, 2002
4,841
0
71
In order for your link to work every file you upload needs to be in the public_html folder. Is that where you put your file?

I think you put it in the public_ftp folder if I'm looking at the right file.
 

pcgamer321

Member
Jan 22, 2008
179
0
0
ah, I thought that all downloadable things go to public_ftp. Will change that now.

edit: Yup, that works. Thanks DeviousTrap.


Still learning the kinks to hosting a site.