I bet it is the connector! run tomcat as stand alone (port 8080 by default) and access the servlet without using apache and I bet money it will work! :) goodluck
-----Original Message----- From: Reini [mailto:[EMAIL PROTECTED]] Sent: Saturday, February 09, 2002 10:00 PM To: [EMAIL PROTECTED] Subject: com.oreilly.servlet and damaged files 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]> -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]>