Download a file

T

Tony M

VS 2005 - vb .net - web forms

Can someone get me started on how to create a link to download a file to a
visitors computer from my website?
 
R

rowe_newsgroups

VS 2005 - vb .net - web forms

Can someone get me started on how to create a link to download a file to a
visitors computer from my website?

The easiest (imo) way would be to add the file to a directory of your
website and use the standard anchor tag.

For example, if the file is in a folder called "downloads" your anchor
tag would be:

<a href="downloads/MyFile.ext">Click Here To Download!</a>

Thanks,

Seth Rowe
 

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

Top