What this is doing is: 
Obtaining the file and displaying the BINARY contents.
Not the compiled.

Simply open a new window and link to the file...

is that possible?

>>> [EMAIL PROTECTED] 11/04/02 01:43PM >>>
I am trying to use cfhttp to get a pdf file and display it in the
browser.

Here's the code I am trying to use
<cfhttp url = "http://www.somedomain.com/test/file.pdf"; method =
"get">
</cfhttp>
<cfoutput>
#cfhttp.header#
#cfhttp.fileContent#
</cfoutput>

I'm new to CF some I'm sure there is something wrong with this code. It
gets
the file, however, it does not display it properly.

thanks,

Luis


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm

Reply via email to