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
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
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
3 matches
Mail list logo