I find the following works

<cffile action=""
          addNewLine="false"
          fixNewLine="false"
          file="#arguments.reportFilename#"
          output="#decodedData#">

On 08/11/06, Dale Fraser <[EMAIL PROTECTED]> wrote:

Try addnewline="no"

See this example it does work.

http://awads.net/wp/2005/07/21/writingreading-images-tofrom-db/

Regards
Dale Fraser

http://dale.fraser.id.au





-----Original Message-----
From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf
Of skateboard.com.au
Sent: Wednesday, 8 November 2006 17:52 PM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Re: writing binary files to disk


Hey Dale

Um, yes I did try that. The file gets written to disk, but the binary
data appears to get corrupted. I thought the standard cffile was for non
binary types. I am probably missing something..

thanks

Drew

-----Original Message-----
From: "Dale Fraser" <[EMAIL PROTECTED]>
To: < cfaussie@googlegroups.com>
Date: Wed, 8 Nov 2006 16:53:06 +1100
Subject: [cfaussie] Re: writing binary files to disk

>
> <cffile action="" file="C:\file.tig" output="#encString#" />
>
> Regards
> Dale Fraser
>
> http://dale.fraser.id.au
>
>
>
>
>
> -----Original Message-----
> From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On
> Behalf
> Of skateboard.com.au
> Sent: Wednesday, 8 November 2006 16:46 PM
> To: cfaussie@googlegroups.com
> Subject: [cfaussie] writing binary files to disk
>
>
> Hey Guys
>
> Whats the best way to do this in CF these days. I have a little perl
> script returning my CF process a tif.
>
> thanks in advance
>
> cheers
>
> Drew Peacock
>
>
>
>
>
>
> >







--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups "cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to