Use this:

<cfhttp
        url="#url#"
        method="get"
        path="#pathtolocalfile#"
        file="#filename#"
        >

--  Ben Doom
    Programmer & General Lackey
    Moonbow Software, Inc

: -----Original Message-----
: From: Duane Boudreau [mailto:[EMAIL PROTECTED]]
: Sent: Monday, February 10, 2003 4:15 PM
: To: CF-Talk
: Subject: CFHTTP and Images
:
:
: Hi All,
:
: Does anyone here have an example of using CFHTTP to grab an image and save
: it locally?
:
: I tried this but no go:
:
: <cfhttp url="http://?????/image.jpg"; method="GET" resolveurl="false">
:
: <cffile action="WRITE" file="D:\images\myimg.jpg"
: output="#ToBinary(ToBase64(cfhttp.fileContent))#">
:
: Duane
:
: 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to