Jump to content
InsanelyMac Forum

Recommended Posts

Lately I've been trying to make a downloads available for my website, and I haven't been successful. So does anybody know how to make downloads available on a website, and how to incorperate it into a button?

Share this post


Link to post
Share on other sites
Advertisement

You should just be able to set up a link and change the URL to the file on your server that you wish people to be able to download. Your browser will do the rest when someone clicks it.

Share this post


Link to post
Share on other sites

But how do I make so somebody can download certain files to they're hard drive(like .PDF, .html, .php, javascript, .xml, and other web based files for websites)?

Share this post


Link to post
Share on other sites

I'm not sure I fully understand your question but if for instance you had a file like; File1.pdf and you wanted people to be able to download it you would upload it to your server say to a folder called 'Downloads' then you would create a link to it.

 

E.g - "<a href="/Downloads/File1.pdf">Click here to download.</a>"

 

When someone clicks that link it would open up a box saying, where would you like to download the file to.

Share this post


Link to post
Share on other sites

Yeah baisically like the example you gave.

 

<a href="/downloads/file.html">click to download</a>

(but be able to download other formats that usually open in the web browser.)

Share this post


Link to post
Share on other sites

if it opens in the browser, right click, "Save to Downloads," "Save as..." then it will go to where ever you saved it. the fact that is open means they can DL it.

Share this post


Link to post
Share on other sites

me too!

Lately I've been trying to make a downloads available for my website, and I haven't been successful. So does anybody know how to make downloads available on a website, and how to incorperate it into a button?

Share this post


Link to post
Share on other sites

I'm confused here. So you have a website I assume? And you want to have a button on this website?

 

Send me a PM with the website if this is the case so I can see more what you're talking about. I can help you out.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×