| View previous topic :: View next topic |
| Author |
Message |
laza
Joined: 11 Oct 2005 Posts: 2 Location: Romania
|
Posted: Tue Oct 11, 2005 5:15 pm Post subject: Download a file |
|
|
I just learnet how to use html coding.How can i add a file to my website and when a user cliks on the link, the file starts to download.Of course asking iou where to save it.
Can you help me please??? |
|
| Back to top |
|
 |
|
|
Malcolm 100+ Club

Joined: 07 Oct 2004 Posts: 199 Location: Ontario, Canada
|
Posted: Tue Oct 11, 2005 5:42 pm Post subject: Re: Download a file |
|
|
Yes!
| Code: |
<a href="place_where_teh_files_at.zip">Text for teh link-zor</a>
|
|
|
| Back to top |
|
 |
webmaster Site Admin

Joined: 17 Aug 2004 Posts: 3589 Location: Sweden
|
Posted: Tue Oct 11, 2005 5:44 pm Post subject: Re: Download a file |
|
|
Hi and welcome to DEVPPL.
It can be done exactly like you link to another site, like this:
| Code: |
| <a href="filename.zip">Click here to download</a> |
A problem could be that browsers support some filetypes, like image (.jpg .gif and so on). Then you have to ask your visitors to right click on the link and click on Save target as.. But that's not needed for filytypes that browsers can't read, for example .zip or .rar |
|
| Back to top |
|
 |
Ash 1000+ Club

Joined: 03 Aug 2005 Posts: 1016 Location: England
|
Posted: Tue Oct 11, 2005 6:57 pm Post subject: Re: Download a file |
|
|
If you had a process you could offer as a download you uplaod that and instead of using the URL for the zip you use the files URL like
I'll use freewebs as a example.
| Code: |
| <a href="http://www.freewebs.com/processname.exe">click here to download</a> |
|
|
| Back to top |
|
 |
laza
Joined: 11 Oct 2005 Posts: 2 Location: Romania
|
Posted: Wed Oct 12, 2005 8:35 pm Post subject: Re: Download a file |
|
|
| Thank you all for answering my question.I hope i solved my problem. |
|
| Back to top |
|
 |
|