Thanks, I knew it would be simple. In fact I very nearly tried exactly that but my info says that the PATH attribute is used only with METHOD="post" and FILE only with PATH, suggesting that it wouldn't work..... It did...... Don't I feel stupid.....
-- Jay [EMAIL PROTECTED] "Computer games don't affect kids, I mean if Pac Man affected us as kids, we'd all be running around in darkened rooms, munching pills and listening to repetitive music..." ----- Original Message ----- From: "Pascal Peters" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Wednesday, July 17, 2002 3:09 PM Subject: RE: saving a retrieved graphic. > You can use the attributes file and path to save the file on the server. > Read the help for cfhttp. > > Pascal > > -----Original Message----- > From: James Smith [mailto:[EMAIL PROTECTED]] > Sent: woensdag 17 juli 2002 16:02 > To: CF-Talk > Subject: saving a retrieved graphic. > > > OK, here is the thing. > > I need to be able to retrieve a graphic (a graph in fact) from a website > and save it locally so for the rest of the day the CF Box doesn't keep > trying to re-fetch the graph and waste our bandwidth. > > I can use cfhttp to retrieve the file but I can't figure out how to save > it to disk <CFHTTP resolveurl="No" method="GET" > url="http://www.domain.com/graph.gif"></CFHTTP> > > I know someone will suggest using <img > src="http://www.domain.com/graph.gif"> but that simply wont do, the > graphic MUST be saved locally. > > Is there an easy way to do this, have I missed something I really should > know? > > -- > Jay > [EMAIL PROTECTED] > > "Computer games don't affect kids, I mean if Pac Man affected us as > kids, we'd all be running around in darkened rooms, munching pills and > listening to repetitive music..." > > > > ______________________________________________________________________ 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/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

