http://devex.allaire.com/developer/gallery/info.cfm?id=CA3471D5-2830-11D4-AA 9700508B94F380&method=full
-----Original Message----- From: Fisichella [mailto:[EMAIL PROTECTED]] Sent: Thursday, December 13, 2001 9:36 AM To: CF-Talk Subject: cfhttp question Hi, I'm using cfhttp to grab quotes from yahoo finances. The code is like below : <CFOUTPUT> <cfhttp url="http://finance.yahoo.com/d/quotes.csv?s=^DJI&f=sl1d1t1c1ohgv&e =.csv" method="GET" resolveurl="true"></cfhttp> #cfhttp.filecontent#<BR> <BR> <H3><B>The mime-type:</B></H3><BR> #cfhttp.mimetype#<BR> <H3><B>The Status Code:</B></H3><BR> #cfhttp.statuscode#<BR> <H3><B>The Raw Header:</B></H3><BR> #cfhttp.header#<BR> </CFOUTPUT> If I run this page, I got the following error : The requested file is not ASCII text and can not be rendered. But if I change the url into http://finance.yahoo.com , it will works... any idea why ??? Does anyone has a better idea how to get quotes, I decide to get it from yahoo, cause I don't know where I have to go to get this quotes ??? Does anyone ever do this before ??? One more thing, it causes the page really slow if I use cfhttp, any better idea beside scheduler ??? Thanks, Fisichella. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists