I've run into a strange problem with uploading files. (tdk-1.1a13 on
Windows 2000.)
I set services.TurbineUploadService.automatic=true, then I tried making a
multipart encoded form that uploaded a file to the server along with a few
other regular form fields.
What I found is that whenever the combined form data and file size exceeded
the threshold specified by services.TurbineUploadService.size.threshold, all
of the parameters in my RunData would be cleared out before they reached the
action handler for the form. If the combined size of the post operation is
less than the threshold, then everything works fine.
I briefly looked at the source code for FileItem, TurbineUploadService, and
DefaultParameterParser and it wasn't obvious to me why this would happen
(however the source code I browsed was a newer revision).
The current workaround is to set:
services.TurbineUploadService.size.threshold=1048576
so that all the files I upload will be cached in memory, which is not ideal
but works for now.
Has anyone else run into this problem? Is it fixed in the new version? I
didn't see any mention of it in the Apache Bug Database.
Thanks,
-Myron
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]