downloading a file
Posted on 2003-12-04
on my web site i will have a link. if the user clicks that link, the user should be able to download the file
i used <a href="XXXXX.xls"> and it worked. but if the file is a jpg or a gif, then it opens in the browser instead of downloading. is there some other way to to this?
i tried using< a href="file:///xxxx.xls">click here to download</a>
but i get an error. am i making some mistake?