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

how to set up link for file download

Status
Not open for further replies.

varocho

Programmer
Dec 4, 2000
238
US
How do I set up a link for a file download?
 
Hi varocho,
I believe I have understood your question.

You have a File in the Server and u need to show a hyperlink in the Page to download the file.


It is very simple.
Put the file in the WEB Server root Directory which is visible to the Internet world (Eg: docs directory in netscape Server). Now create a link like:

<A HREF=&quot;/filename.ext&quot;>File 1</A>

If the file is not physically available in teh Server and if it available in the Database, then u might have to have a servlet to pull the file from the database and then throw it to the Client machines....

Let me know if u need more info

Thanks and regards,
Pazhanikanthan. P
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top