java.io.IOException: Corrupt form data: premature ending
at xx.xx.xxxx.utilities.MultipartRequest.readRequest
(MultipartRequest.java, Compiled Code)
indicating that I have already reached the end of file / no data is
being streamed in?? This same error occurs, irrespective of file
type/size, browser type...
Anyone got any ideas??
Thanks,
Claire
Sent via Deja.com
http://www.deja.com/
You might try "converting" a file to unix format with a utility
like dos2unix. I would suspect this is a problem with DOS \r\n vs
Unix \n.
If that works, invoke Plan B. :)
Just a hunch.
Bob L.
--
Robert Lynch-Berkeley CA USA-r...@best.com
Interestingly, we found that avoiding *any* calls to
request.getParameter and friends we could work around this
behavior. If we made sure that our multipart/form-data
parser was the absolute first thing that read from the
request.getInputStream(), we were OK. We stored all the
form params/values as attributes on the request object
with the value of file uploads being the full pathname
of the file on our filesystem where it stored the contents.
-=- D. J.
In article <93cuk3$tqa$1...@nnrp1.deja.com>,