Doh! Thanks a bunch.

Duane




-----Original Message-----
From: Ben Doom [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 10, 2003 6:16 PM
To: CF-Talk
Subject: RE: CFHTTP and Images


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
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.

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

Reply via email to