Yes, I get them on CF8,CF9 and Railo, and presumably Blue Dragon from a test I had someone else run.
Thanks, Fred On Wed, Oct 14, 2009 at 12:01 PM, Judah McAuley <ju...@wiredotter.com> wrote: > > Out of curiosity, do you get the same behavior on Adobe CF that you > are seeing on Railo? I'd talk to the guys on the Railo list. If you > have a reproduceable issue, they seem quite keen to jump on these > little bugs and get them fixed ASAP. > > Judah > > On Sun, Oct 11, 2009 at 3:56 PM, Fred Anderson <whitefal...@gmail.com> wrote: >> >> Here is the scenario. >> I have a 3D app that will "post" a render in jpg format to the URL of >> my choice, in this case I have setup a server (I have tested with CF9 and >> Railo) on my machine to test catching the JPG's and saving them to the hard >> drive. >> The problem is that the photos come through all messed up. So here is >> the PHP example that works just fine: >> <? >> if (!($fp = fopen("c:\\hello.jpg", "ab+"))) { >> echo "<error>Cannot create file</error>"; >> } >> fwrite($fp, "$HTTP_RAW_POST_DATA"); >> fclose($fp); >> ?> >> >> here is my CFML: >> <cffile action="write" file="c:/cfHello.jpg" >> output="#getHTTPRequestData().content#" addnewline="false"> >> >> A little research has turned up the following: >> If I look at the POST in HTTPDebugger, I can see the Binary data that >> is being sent. >> And if I open up the two jpg's in a hex editor I can see that the PHP >> version has the correct content length and the bytes are all the >> correct. >> When I open up the Railo version, the content length is correct, and a >> lot of the bytes are the same but some are different. here is a short >> example. >> CF: >> 7B 8A 3F 63 EC FE 27 29 >> PHP: >> 7B 8A 8F 63 EC FE 27 29 >> >> I appologize that I cannot provide a place for you to trigger the post for >> testing, but I am hoping someone may have some ideas on how to solve this >> issue. >> Any information you can give me would be appreciated, I was hoping to do >> this in CF so I can do some additional cfimage work on the jpg, Thanks. >> >> > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327216 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4