I'm tring this code and it is throwing an error, any idea how I should
do it different?

<cfhttp url="http://www.google.com/images/logo.gif"; resolveurl="1"
throwOnError="No"></cfhttp>
<cffile action = "upload" fileField = "#cfhttp.filecontent#" destination
= "images/google.gif">


-----Original Message-----
From: Douglas Williams [mailto:[EMAIL PROTECTED]] 
Sent: Friday, June 14, 2002 6:51 PM
To: CF-Talk
Subject: RE: <cffile> Questions

Jim,

You should use the CFHTTP tag with the URL of the image in the URL
attribute.  I'm also pretty sure you'll have to use the file attribute
as
well.

HTH,
Douglas

-----Original Message-----
From: Jim Vosika [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 14, 2002 6:42 PM
To: CF-Talk
Subject: <cffile> Questions


Hey everyone,
            Is there a way with <cffile> or possibly <cfhttp> to grab an
image from someone else's website and save it on my server, eg.
http://www.google.com/images/logo.gif ?

Thanks!
Jim Vosika
http://www.softwaresupermall.com <http://www.softwaresupermall.com/>






______________________________________________________________________
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
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

Reply via email to