i have been trying for the better part of the morning to figure out where i am going
wrong with the CFHTTP tag.
i get a list of about 200 cars two times a week and the majority have photos (with
full url to other sites) but cant seem to figure out how to get CFHTTP to download an
image off of a remote site and save it locally to my hard drive.
suggestions? ideas? help???!!!
here is my non-functional code so far... the header seems to return the right info,
and the mime type is also correct, but the filecontent makes no sense to me whatsoever
and i am unsure if i am doing this right, or if it is even possible with the CFHTTP
tag, or if i should be using some other tag, or if i should be using something from
the allaire developer exchange.
<cfhttp method="GET" url="http://www.lexus.com/images/home/mn_ph_sc_top.jpg"></cfhttp>
<cfoutput>
<hr>
#cfhttp.header#
<hr>
#cfhttp.filecontent#
</cfoutput>
thanks in advance.
peter
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists