Yeah, this worked for me too... <cffile action="READ" file="C:\CFusionMX\wwwroot\test\test.64" variable="a"> <cffile action="write" file="C:\CFusionMX\wwwroot\test\test.jpg" output="#tobinary(a)#">
If you are transferring your files between windoze and Linux, make sure they are transferred in text mode , not binary... Justin > -----Original Message----- > From: Steve Martin [mailto:[EMAIL PROTECTED]] > Sent: 25 November 2002 15:37 > To: [EMAIL PROTECTED] > Subject: RE: [ cf-dev ] base64 encoding > > > CF5. Win2k. The following works a treat. Crappy little image with > the text "Cerise". > Steve > > <cfsavecontent variable="b64"> > /9j/4AAQSkZJRgABAgAAZABkAAD/7AARRHVja3kAAQAEAAAAPAAA/+4AJkFkb2JlAG > TAAAAAAQMA > FQQDBgoNAAACmQAAA88AAATjAAAGPv/bAIQABgQEBAUEBgUFBgkGBQYJCwgGBggLDA -- ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] For human help, e-mail: [EMAIL PROTECTED]
