Jump to content

Download button


  • Please log in to reply
9 replies to this topic

#1
Mr.Techie456

Mr.Techie456

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 135 posts
  • Gender:Male
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?

#2
agent-squirrel

agent-squirrel

    Releasing Control Art Restriction System To Level 0

  • Members
  • PipPipPip
  • 149 posts
  • Gender:Male
  • Location:Launceston Tasmania Australia
  • Interests:Anime, J-pop, Sci-Fi
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.

#3
Mr.Techie456

Mr.Techie456

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 135 posts
  • Gender:Male
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)?

#4
agent-squirrel

agent-squirrel

    Releasing Control Art Restriction System To Level 0

  • Members
  • PipPipPip
  • 149 posts
  • Gender:Male
  • Location:Launceston Tasmania Australia
  • Interests:Anime, J-pop, Sci-Fi
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.

#5
Mr.Techie456

Mr.Techie456

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 135 posts
  • Gender:Male
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.)

#6
Mr.Techie456

Mr.Techie456

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 135 posts
  • Gender:Male
The problem is I can't get those kind of downloads working on my website.

#7
Griffwill

Griffwill

    InsanelyMac Protégé

  • Members
  • Pip
  • 39 posts
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.

#8
Mr.Techie456

Mr.Techie456

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 135 posts
  • Gender:Male
I really just want people to download it if they were clicking on a internet link ( you know for people who are computer RePosted Imageted).

#9
habblet

habblet

    InsanelyMac Protégé

  • Members
  • Pip
  • 9 posts
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?



#10
savj14

savj14

    InsanelyMac Protégé

  • Members
  • Pip
  • 7 posts
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.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy