Awesome, that worked awesome.

I set a content-disposition header with "attachment" and a filename, then
sent my unnamed file in binary format - it worked like a charm.

Thanks for your help.
 
Matthew Small
Web Developer
American City Business Journals
704-973-1045
[EMAIL PROTECTED]
 

-----Original Message-----
From: RADEMAKERS Tanguy [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, October 04, 2005 4:05 PM
To: CF-Talk
Subject: RE: Content-Type

IIRC, you need to look into the "content-disposition" header, iso the
"content-type" one

<cfheader name="Content-Disposition"
value="attachment;filename=whatever_you_want.pdf">

/t



>-----Original Message-----
>Subject: Content-Type
>From: Matt Robertson <[EMAIL PROTECTED]>
>Date: Tue, 4 Oct 2005 12:19:48 -0700
>Thread: 
>http://www.houseoffusion.com/cf_lists/index.cfm/method=messages
>&threadid=42580&forumid=4#220053
>
>Assuming you save the file somewhere yourself on your server, there
>used to be a way to do this but its no longer reliable.
>
>You push the file to the client with cfcontent, set the mime type to
>application/unknown and set the type to 'attachment'.  In the olden
>days before security tightened up this would give you a save dialog no
>matter what.  I would be real careful about any attempt to delete it
>immediately afterwards as you'll probably delete a file still in
>transmission to the client.
>
>IIRC default Windows firewall settings now prohibit acceptance of
>application/unknown MIME types like this.
>
>--
>--mattRobertson--
>Janitor, MSB Web Systems
>mysecretbase.com



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220070
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to