Have you tried the result attribute in your cffhttp tag, and then use
that instead of cfhttp.filecontent? 

> -----Original Message-----
> From: Nick Sweeney [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, October 26, 2006 1:11 PM
> 
> Ok - Head scratching time.
> 
> I am trying to parse XML from 3rd party websites for client 
> websites. However - sometimes the wait can be painful - as 
> they may be trying to get RSS from 4-5 different websites.  
> So idealy I want to temporarily save the remote file to the 
> local server - and only look for an updated file every hour 
> or so. I have had this working before - but recently run into 
> trouble with the UTF-8 format - so I have to do some re-writes. 
> 
> Here's the head scratcher - It parses fine if I take it 
> directly from the source-  but after I save it locally - it crashes.  
> 
> So - how should I/Can I save the file locally?  This is what 
> i am doing:
> 
> 
> <!---First: Get Original Feed --->
> <cfhttp url="#qryGetRSSFeeds.RSSLink#" method="get" 
> resolveurl="Yes" throwOnError="Yes"/>
> <!--- Write A New One! --->
> <cffile 
> action="write" 
> file="#SiteRootDir#\rss\#TheNewRSSFile#" 
> output="#cfhttp.filecontent#"
> charset="us-ascii">
> </cffile>
> 
> Is there a better way to get the file and save it?

------------------------------------------------------------------------------
This transmission may contain information that is privileged, confidential 
and/or exempt from disclosure under applicable law. If you are not the intended 
recipient, you are hereby notified that any disclosure, copying, distribution, 
or use of the information contained herein (including any reliance thereon) is 
STRICTLY PROHIBITED. If you received this transmission in error, please 
immediately contact the sender and destroy the material in its entirety, 
whether in electronic or hard copy format. Thank you. 

==============================================================================
"EMF <idahopower.com>" made the previous annotations.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Newbie/message.cfm/messageid:2170
Subscription: http://www.houseoffusion.com/groups/CF-Newbie/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.15

Reply via email to