Railo 4/ Tomcat / IIS7.5 / Coldfusion / cffile upload of docx not working -
i moved web application coldfusion railo server , encountered puzzling issue application's file upload functionality. works fine files, .docx files don't uploaded. in railo see error:
form field [form.theformfieldname] not file field
i have registered "docx" mimetype in iis , tomcat application/vnd.openxmlformats-officedocument.wordprocessingml.document
i did small test , cfdumped #form#
twice. first time .doc file, , second time .docx file.
dump 1: .doc file
scope docsbestand string c:\inetpub\wwwroot\site\web-inf\railo\temp\tmp-321.upload fieldnames string jsoninput,docsbestand jsoninput string {"pro":{"idaanvraag":"052300022920333" ,"bron":"spontaan"},"apiklant":"demo","apikey":kl541231231}
dump 2: .docx file
docsbestand string pk!0�(r�[content_types].xml �(��t�n�0�w�?d�v������[��0��z��l�i�q�b� \"%���ك�ښl �w%�=���^i7+���%�g&�0�a�6�l4��l60#�Ò�s ����x��&��v$z�3��3���%p)o5�����5}�:�`�e�ۅ�v�dfk��)_:�k%�)�l��\�!��u�'�v�7�&j�x��*,��+w^.,�����w����k��d�ܚ��x�ݷ��>��n!��fz�&0m��ly��)�q�9��d}��@��?Ĥ�����r��/��s���*&:t��g������ˉ�8y�o�[�&v0}�x�?Ȼ���>�#��;�f�io.����pk!���n_rels/.rels �(����ja���a�}7� "���h�w"����w̤ھ�� �p�^����o֛���;�<�ayՠ؛`g�kxm��py�[��g gΰino�/<���<�1��Ⳇa$>"f3��\�Ⱦt��i s����������w����y ig�@��x6_�]7~ f��ˉ�ao�.b*li�r�j)�,l0�%��b� 6�i���d�_���, � ���|u�z^t٢yǯ;!y,}{�c��/h>��pk!ʡ��9`word/_rels/document.xml.rels �(����n�@��&�ٻl�zms�5����la�.�dw���i(4�x�b2�}?fvx�������`(&<�Ĥ%��_o��ha��aen����;he�+��y�.q���%t���;���".m.k��tr>�-�z����ۤ����vxqss���&���m���b�t@�_��s�(��3����d n ��m)�k0�0���q�y�}�z,>�2��,ϡ'8jc�)!2�����(�a�o q�ɶ��]߉j���2��ç�Я��z3)/�ˁ������mi� ۏ���]���!���pk!q�� �word/document.xml�]ks�h�o����c~b���s�;�nm�f�@��b0�_��b�� !�6�9�i j��_>+��巿&�6�o:�y����4nôgg�LJ��im�f�rl~v{�~�����e�1��t��@�!l�3��� p;��?� ����ps�x�?�qc¼�[8�fߴ������z4�sv�zv'�>1��;��q�cs���/�s���h���48�?6]_�6y�h��x2���lb����<o3<6yl��s�3\�p߇�w�����gg�c,���laɄ��rdNJ����5�n�p���\tk}�x�ow�w�fﬦ���q�]��aк~z}t�����m�`����k���~x�Ǎc>���i���ؙ0u|n����_�n��o�y�-ǵ��%�ֈ�n�@�b���c(��k� <snip> string jsoninput,docsbestand jsoninput string {"pro":{"idaanvraag":"052300022920333" ,"bron":"spontaan"},"apiklant":"demo","apikey":kl541231231}
somehow file not uploaded tmp-directory read/parsed/whatever. , of course cffile upload wont work in cases.
what causing this?
thanks! bart
Comments
Post a Comment