Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

download files

Status
Not open for further replies.

aleahim

Programmer
Jun 3, 2002
22
0
0
RO
Hi,

I want to make a html page( to put on Internet) with links.
When the users click a link from my page, the file (*.doc,*.xls,*.zip) can be downloaded by them. (the click event to open the download dialog).

Can you help me?

Many thanks.
 
Code:
<A HREF=&quot;filename.zip&quot;>Download my file</a>

They will need to right-click and choose &quot;save as&quot;.

If you want them to just be able to left-click to start the download then you might want to use a ZIPPED files then code the link in the same manner as above.

 
Hi mate,

It is a browser setting that determines whether the file is opened or saved, this setting is normally set for a reason, if the user would prefer to open the file in the browser, why not let them?

Hope this helps Wullie

sales@freshlookdesign.co.uk

The pessimist complains about the wind. The optimist expects it to change. The leader adjusts the sails. - John Maxwell
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top