RE: file upload struts - pdf corrupted

2005-05-21 Thread meyawn
Harper Sent: Saturday, May 21, 2005 11:26 PM To: user@struts.apache.org Subject: Re: file upload struts - pdf corrupted Ugh, I found the same bug in the multipart parse we were using in my last job. The problem was that readLine() removed the end-of-line characters and they were added back

Re: file upload struts - pdf corrupted

2005-05-21 Thread Laurie Harper
so in BufferedMultipartInputStream.readLine()...wont bore you with details, but a cheap fix would be to do MultipartIterator.MAX_READ_SIZE to something more than 4092. -Original Message- From: Adam Hardy [mailto:[EMAIL PROTECTED] Sent: Saturday, May 21, 2005 7:15 PM To: Struts Users Mailing List Subject: Re: file upload s

RE: file upload struts - pdf corrupted

2005-05-21 Thread meyawn
[mailto:[EMAIL PROTECTED] Sent: Saturday, May 21, 2005 7:15 PM To: Struts Users Mailing List Subject: Re: file upload struts - pdf corrupted On 20/05/05 10:33 Nandan wrote: > Hello, > I am using struts 1.0.2 to upload files. However sometimes a PDF file gets corrupted after a file upload.

Re: file upload struts - pdf corrupted

2005-05-21 Thread Adam Hardy
On 20/05/05 10:33 Nandan wrote: Hello, I am using struts 1.0.2 to upload files. However sometimes a PDF file gets corrupted after a file upload. I see that random characters are replaced a hex 0A. Is this is a known bug? Please let me know GP Try checking bugzilla for commons-fileupload, or a

file upload struts - pdf corrupted

2005-05-20 Thread Nandan
Hello, I am using struts 1.0.2 to upload files. However sometimes a PDF file gets corrupted after a file upload. I see that random characters are replaced a hex 0A. Is this is a known bug? Please let me know GP