PDA

View Full Version : File downloads



ebooksar
06-18-2009, 09:18 AM
Hi
I'm building a website in Dreamweaver and I'm learning as I go.
As part of my site, I want people to be able to download files from the website, on demand. Can anyone give me a clue as to how I learn how to do this?
I want visitors to be able to click a comand button and the choose a location on their own computer to download the file to. Torrent sites and manufaturing sites do this all the time but I can't find any info on the method of setting this up. If you can help it will be greatly appreciated.
Jeff:confused:

Kobeer
06-18-2009, 10:37 AM
You can do most of this pretty simple with an anchor tag in html.

Let's say you keep a zip file with things you want your clients to download on your site at http://www.yourdomain.com/downloads/stuff.zip

You'd just make a link on your page for that file. Here's an example of the CODE for it.


<a href="http://www.yourdomain.com/downloads/stuff.zip">Click here to download</a>

I'm more of a notepad person myself, but I found a link that should help with Dreamweaver

http://webdesign.about.com/od/dreamweaverhowtos/ht/htdwhyperlink.htm

Check that out and see if it helps you. The URL will just be the direct link to your file.

malefic
06-18-2009, 10:39 AM
Hi
I'm building a website in Dreamweaver and I'm learning as I go.
As part of my site, I want people to be able to download files from the website, on demand. Can anyone give me a clue as to how I learn how to do this?
I want visitors to be able to click a comand button and the choose a location on their own computer to download the file to. Torrent sites and manufaturing sites do this all the time but I can't find any info on the method of setting this up. If you can help it will be greatly appreciated.
Jeff:confused:

I think you can just put the link to the file in a href tag, something like:



<a href="yourfile.zip">Your file - Click here to download</a>


Hope that helps http://imgs.theimagesafe.info/cheers.gif
M.

ebooksar
06-19-2009, 02:34 AM
Thanks a million guys for your assistance. I'll give it all ago and see what works.

Regards Jeff