Flash Games
 FAQ   Search   Memberlist   Usergroups   Register  Profile   Log in to check your private messages   Log in 


Download a file



 

Post new topic   Reply to topic  
   DEVPPL Forum Index -> HTML Forum
View previous topic :: View next topic  
Author Message
laza



Joined: 11 Oct 2005
Posts: 2
Location: Romania

PostPosted: Tue Oct 11, 2005 5:15 pm    Post subject: Download a file Reply with quote

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
View user's profile Send private message Send e-mail Yahoo Messenger
Malcolm
100+ Club


Joined: 07 Oct 2004
Posts: 199
Location: Ontario, Canada

PostPosted: Tue Oct 11, 2005 5:42 pm    Post subject: Re: Download a file Reply with quote

Yes!

Code:

<a href="place_where_teh_files_at.zip">Text for teh link-zor</a>
Back to top
View user's profile Send private message Visit poster's website
webmaster
Site Admin


Joined: 17 Aug 2004
Posts: 3590
Location: Sweden

PostPosted: Tue Oct 11, 2005 5:44 pm    Post subject: Re: Download a file Reply with quote

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
View user's profile Send private message Visit poster's website
Ash
1000+ Club


Joined: 03 Aug 2005
Posts: 1016
Location: England

PostPosted: Tue Oct 11, 2005 6:57 pm    Post subject: Re: Download a file Reply with quote

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
View user's profile Send private message Send e-mail MSN Messenger
laza



Joined: 11 Oct 2005
Posts: 2
Location: Romania

PostPosted: Wed Oct 12, 2005 8:35 pm    Post subject: Re: Download a file Reply with quote

Thank you all for answering my question.I hope i solved my problem.
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
Display posts from previous:   
Post new topic   Reply to topic    DEVPPL Forum Index -> HTML Forum All times are GMT + 1 Hour
Page 1 of 1

 
 
Welcome to DEVPPL.com
You are not logged in, which means that you can't post in the forums.
Click here to Register

If you are a current member here on DEVPPL, please login below:

User: Pass:
Log me on automatically each visit:

 


Powered by phpBB © 2001, 2005 phpBB Group - Modified by DEVPPL

Flash Games - Sitemap