Try:

<CFHEADER NAME="Content-Disposition" VALUE="attachment; filename=FILENAME">
<CFCONTENT TYPE="unknown" FILE="FILEPATH" DELETEFILE="No">

Of course, include the appropriate values for FILENAME (just the filename
and extension, don't include path info) and FILEPATH (full path on the drive
including the filename).


-----Original Message-----
From: Will Swain [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 21, 2001 5:51 AM
To: CF-Talk
Subject: auto downloading


Hi guys,

I am writing an application that allows a user to download pdf's or word
docs.

They enter their membership details, and once authorised select what type of
a particular document they want to download.

I would like the download process to start automatically as soon as they
make this selection, instead of them having to right click on a link and
selecting 'Save As' to download the file.

How would I go about this

TIA

Will
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to