[thelist] Save As dialog

Stevenson Ngila Stevenson at epr.footman-walker.com
Wed Nov 6 02:58:01 CST 2002


this works fine, but on clicking "open" button on the save as dialog box, it
doesn't open the file.

this is how my download file looks  like:

><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
<cfheader  name="Content-Disposition"  value="attachment;
filename=#FileName#">
<cfcontent  file="Attached/#FileName#"  type="application/x-unknown">
<cfabort>
><><><><><><><><><><><><><><><><><><><><><><><><><><><><><

-----Original Message-----
From: thelist-admin at lists.evolt.org
[mailto:thelist-admin at lists.evolt.org]On Behalf Of .jeff
Sent: 06 November 2002 10:16
To: thelist at lists.evolt.org
Subject: RE: [thelist] Save As dialog


hi,

><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
> From: Stevenson Ngila
>
> How do I prompt a "Save As" dialog in coldfussion for
> any link clicked?
><><><><><><><><><><><><><><><><><><><><><><><><><><><><><

the requested template would need to issue a header/mime-type that was
unrecognizable to the browser.  here's a combination of tags that i use to
get the job done:

<cfheader
 name="Content-Disposition"
 value="attachment; filename=foo.jpg">
<cfcontent
 file="F:/inetpub/wwwroot/foo.jpg"
 type="application/x-unknown">
<cfabort>

good luck,

.jeff

http://evolt.org/
jeff at members.evolt.org
http://members.evolt.org/jeff/

--
For unsubscribe and other options, including
the Tip Harvester and archive of thelist go to:
http://lists.evolt.org Workers of the Web, evolt !





More information about the thelist mailing list