I like to use two separate tags though because you can validate that the
cfhttp.FileContent variable actually contains the image and not a
"connection timeout" message or something similar before you actually commit
it to disk.

What do other people think here, am I better of just writing the file and
handling possible errors afterwards?

--
Jay

> -----Original Message-----
> From: Dave Watts [mailto:[EMAIL PROTECTED]
> Sent: 09 August 2004 15:16
> To: CF-Talk
> Subject: RE: Downloading image
>
> > <cfhttp url=""> > > method="GET" getasbinary="yes">
> > <cffile action="" ...
>
> It's worth pointing out that you can just use the FILE
> attribute of CFHTTP, rather than having a separate CFFILE tag.
>
> Dave Watts, CTO, Fig Leaf Software
> http://www.figleaf.com/
> phone: 202-797-5496
> fax: 202-797-5444
>
>
>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to