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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I make a download? 2

Status
Not open for further replies.

pauiel

Programmer
Jan 19, 2004
17
US
I have a file I want to have available for users to download. How do I put it up on my site? And what is the code for that?
 
Well If its a .EXE or .ZIP file then all you have to do is upload it to your server and then put a simple link to the program and then the browser will prompt you to download it ...
Code:
<a href=&quot;whatever.zip&quot;>Click here to download Whatever</a>
If the file was a real file on the tek-tips server and you clicked that link then it would prompt you to download it.
Hope that helps
jammer1221
 
Pauiel, just to add to jammer1221's suggestion, most hosting companies might not allow you to post an .EXE file, since there are security issues, and most end-users might not want to d/l a file that is .exe without their permission. I would place the .exe file in an .zip and have them d/l that, then the end users can decide if they want to run that program or not.

[sub]
____________________________________
Just Imagine.
[sub]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top