A little CFEXECUTE help

2008-02-15 Thread Josh Nathanson
Hey all, I'm trying to do a little CFEXECUTE magic on a Linux box, gzipping an xml file on the fly. All is well except that the resulting file is occasionally empty. It seems to work about 50% of the time, then the other 50% I get an empty .gz file. My code looks like this: cfexecute

Re: A little CFEXECUTE help

2008-02-15 Thread Ryan Stille
Log all the paramters when making your cfexecute call, and whether it successfully created the file or not. Then look at both lists (the ones that worked, and the ones that didn't), and I'll bet a pattern will emerge. Spaces or bad characters in a filename perhaps? Surround the filenames

Re: A little CFEXECUTE help

2008-02-15 Thread Josh Nathanson
Or perhaps output over a certain size is failing? I haven't seen it done the way you are doing it there (not that its wrong), passing the binary data through coldfusion by using the outputfile attribute. What attributes are you passing to gzip? By default it deletes the file you are