Hi,
I have problems with UploadService.
When I try to upload a file FileItem
writes 0 bytes long file. 
My Turbine Version is 2.1.

Here's the code that I use to upload the file:
FileItem fileItem =
data.getParameters().getFileItem("file");
fileItem.write(TurbineServlet.getRealPath("uploaded.file"));

The form in the template file is with "enctype" set to
"multipart/form-data".
I have searched the archives but found no answer.

Thanks in advance for any help I get!
Gunter Miessbrandt

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to