users@glassfish.java.net

Re: Sporadic corruption of uploaded data to servlet

From: <glassfish_at_javadesktop.org>
Date: Mon, 22 Oct 2007 10:14:17 PDT

What are you using on the backend? Are you send this as a multipart/form-data or just as a blob of data in an HTTP request?

Typically for file uploads I use Apache Commons FileUpload, but I usually upload from web browsers rather than clients.

You may have better luck using the FileUpload library along with HTTPClients multipart post functionality.

At a gut level, I suspect that the problem is at your end vs the container itself, as the HTTP protocol stuff is pretty mature.
[Message sent by forum member 'whartung' (whartung)]

http://forums.java.net/jive/thread.jspa?messageID=241543