Putting downloadable files on my site

They have: 42 posts

Joined: Sep 2000

I want to include some downloads on my site. Looking at other sites, it seems that I just have to upload my exe file to my server, and include an anchor giving the exe file name - eg Download

Is this right? I can't help feeling that I'm missing something vital here!

D Reuby

They have: 334 posts

Joined: Dec 1999

Nope, you didn't miss anything. That's all there is to it. In fact, it's even a bit easier than that.

the http://www.mysite.com part is superfluous. That's needed if the file in on a different server, but if you leave it out the fact that the file is on your server is implied.

Download
is enough if the .exe file is in the same directory as the HTML page, otherwise
Download

They have: 42 posts

Joined: Sep 2000

Thanks!

AndyB's picture

They have: 344 posts

Joined: Aug 1999

.. if the file were zipped, it would be a much faster download. Same d/l syntax, though get the zipped file

They have: 42 posts

Joined: Sep 2000

You're a mind-reader - I'd just thought "Forgot to ask if zips work the same way"!

They have: 334 posts

Joined: Dec 1999

All downloadable files work the same way:

Download
Download
Download

etc etc etc.

Zips are great for easily compressed things like text or for creating archives so that multiple files can be downloaded with a single click. But don't get into the habit of viewing zips as some sort of magical download tool. Many file types, especially binary files like .mp3 or .jpg are already so greatly compressed natively that zipping/unzipping doesn't shrink file size, it merely creates an extra unneeded step.

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.