I use com.oreilly.servlet Multipartrequest (cos, version from June, 19th. 2001) with Tomcat 4.0.1 + mod_webapp + apache 1.3.22 (tested on different machines, Redhat 7.x and Freebsd 4.4, same behaviour) to upload files.
While uploads of text-files are ok, uploads of jpg or gif files result in damaged files. The size of the uploaded files is about 1 % smaller than the original files. example of a jpg file: original: [..] ����^@^PJFIF^@^A^A^A^@`^@`^@^@��^@C^^F^F^G^F^^G^G^G ^L^T^M^L^K^K^L^Y^R^S^O^T^]^Z^_^^^]^Z^\^\ $.' ",#^\^\(7),01444^_'9=82<.342��^@C^A. . [..] uploaded file: [..] ��^@^PJFIF^@^A^A^A^@`^@`^@^@�^@C^^F^F^G^F^^G^G^G ^L^T^M^L^K^K^L^Y^R^S^O^T^]^Z^_^^^]^Z^\^\ $.' ",#^\^\(7),01444^_'9=82<.342�^@C^A. . [..] (note the missing '�' in the uploaded file) I experimented with settins of different character-encodings, without result. Anybody has any ideas how to fix this ? ~reini -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]>
