try using this line of code for the file download - assume that you want to
put a MyResume.pdf file for download and that file is located in
virtualdirectory/Resume folder on your machine
<a href="Virtualdirectory/Resume/MyResume.pdf">Click Here To Download My
Resume</a>
when the user clicks on this link, the browser will ask the user an option
to "save this" or "open this file from present location" ... the user then
can download the file or likewise ...
hope this helps
Ashish Thakur
Sr. Development Engineer
QUARK Inc.
//////////////////////////////////////////////////
-----Original Message-----
From: Simon Dilley [mailto:s.j.dilley@b...]
Sent: Friday, December 29, 2000 5:03 PM
To: javascript
Subject: [javascript] Allowing users to download a file
Hello,
I have a file which I wish I want to put on my site. I was wondering if
somebody could please tell me how I go about setting this up.
Many thanks.
---
NEED TECHNICAL TIPS, TOOLS, AND INSIGHTS? Is FREE okay?
Visit EarthWeb for the latest in IT Management, Software Development,
Web Development, Networking & Communications, and Hardware & Systems.
Click on http://www.earthweb.com for FREE articles, tutorials,
and discussions from the experts.
---
You are currently subscribed to javascript as: $subst('Recip.EmailAddr')
To unsubscribe send a blank email to leave-javascript-$subst('Recip.MemberIDChar')@p2p.wrox.com