Download

G

Graham

Hi,

Could anyone please tell me how to put a download onto a web page so that
when someone clicks on the link it automatically downloads the file.

Thanks for any help you can provide

Graham
 
A

Anduin

Could anyone please tell me how to put a download onto a web page so that
when someone clicks on the link it automatically downloads the file.

It really depends on what type of file you are trying to get them to
download. If it's a photo or image, then when someone clicks it, instead
of downloading, it will display in their browser.

If you know how to use Winzip (http://winzip.com), compress any file you
want downloaded into a zip file.

On your web page, you would have something like this in your HTML:
<a href="filename.zip">Download</a>, that's if the file is in the same
directory as the page.

Hope this helps some...

Regards,
Anduin
--
,,,,,
(o o)
*----------------------------ooO-(_)-Ooo----------------------------*
| o DreamCities - Fast & Reliable Hosting |
| o http://dreamcities.net - 5mb FREE Hosting also available! |
| *!* Reply to: anduin at dreamcities.net |
*-------------------------------------------------------------------*
 
B

brucie

Could anyone please tell me how to put a download onto a web page so that
when someone clicks on the link it automatically downloads the file.

the visitors settings determine what happens when a link is clicked.
just do a normal link to the file and the visitors can take it from
there.

<a href="my-file.ext">download my file [5Gb]</a>
 
T

Tom

Anduin,

How do you put a photo or image on a webpage so when someone clicks it, instead
of downloading, it will display in their browser.

Thanks,

Tom
 
A

Anduin

How do you put a photo or image on a webpage so when someone clicks it, instead
of downloading, it will display in their browser.

<a href="image.jpg">photo of me</a>

Anduin
--
,,,,,
(o o)
*----------------------------ooO-(_)-Ooo----------------------------*
| o DreamCities - Fast & Reliable Hosting |
| o http://dreamcities.net - 5mb FREE Hosting also available! |
| *!* Reply to: anduin at dreamcities.net |
*-------------------------------------------------------------------*
 
G

Graham

Thanks everyone I thought it was something simple like that the files I want
people to download are a txt file and a doc file. I have created a link to
the file but I get an error message when I click on it saying:-

Action Cancelled
internet explorer was unable to link to the web page you requested. The page
might be temporarily unavailable.

I will try zipping the files up and see if that helps.

Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,102
Messages
2,570,645
Members
47,247
Latest member
GabrieleL2

Latest Threads

Top