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
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm

Reply via email to