i have a CFX tag specifically for grabbing images. let me know and i'll
email it to you off-list.
-----Original Message-----
From: Mike Amburn [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 10, 2001 6:11 AM
To: CF-Talk
Subject: CFHTTP binaries?
Can you CFHTTP/CFFILE binaries?
I'm trying to write a page that will go out and grab an image off a web
page. I thought I could just CFHTTP(get) the image and dump it into a
CFFILE, but that didn't work. It seems to only save the GIF89a header,
but not the actual image.
Any ideas? Here's the code i tried:
<cfhttp method="GET" url="http://#thisURL#"></cfhttp>
<CFFILE ACTION="Write" FILE="c:\image101.gif"
OUTPUT=#CFHTTP.FileContent#>
-mike
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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