I just got done fighting this problem for the last week.  Upgrade to struts
1.0 and that will solve your problem.

Jeff Krueger


-----Original Message-----
From: Darryl Pentz [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 26, 2001 4:38 AM
To: [EMAIL PROTECTED]
Subject: File Upload Problem


Hi all,

Has anyone else experienced problems with the file upload lately? I'm
finding that uploaded files are being corrupted. It doesn't seem to matter
what type the document is. I've found an Excel spreadsheet and a Word
document that have displayed problems. It seems, doing a binary compare,
that a 0A is being inserted arbitrarily. I'm looking at
MultipartIterator.java as the possible culprit as that's where a 0A ('\n')
is being inserted.

If anyone can point out the error of my ways I'd appreciate it. I don't know
why we're only finding this problem now since we've been testing uploads
regularly. Unless it has to do with the fixes in 1.0 final that maybe broke
something. I'm a little out of my depth here since I'm still fairly new to
the intricacies of Struts.

thanks,
Darryl

Reply via email to