Hi,

<cffile action="write"> works fine for Binary data.

Kevin

-----Original Message-----
From: Kevin Roche [mailto:[EMAIL PROTECTED]
Sent: 18 February 2005 16:33
To: CF-Talk
Subject: RE: Copying Images with cfhttp


Dave,

Thanks for that.

One small problem though. I need to copy this file to all the servers in the
cluster so really there are multiple <cffile action="write"> after the get.
I guess once I have the file I need to read it with <cffile
action="readBinary">, there is no writeBinary so will <cffile
action="write"> work?

Kevin

-----Original Message-----
From: Dave Watts [mailto:[EMAIL PROTECTED]
Sent: 18 February 2005 16:06
To: CF-Talk
Subject: RE: Copying Images with cfhttp


> Obviously this is a binary file and maybe cfhttp can't handle it. If so
> anyone know of a way to do it?

Use the FILE attribute of CFHTTP to save binary files directly to your
filesystem.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!






~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:195415
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to