Hey All, I'm not sure if anyone will be able to help with this but I figured I'd try. I'm trying to post multipart/form-data through httpclient and I'm receiving the following exception on the server:
java.io.IOException: Malformed line after content type: Content-Transfer-Encoding: 8bit I get this in the stacktrace that is provided from the response on the server. I don't have access to code that runs on the server and it just happened to be running java and printed the stack trace. It also appears to be running some proprietary multipart server code, this was in the stack: at com.mstr.sound.MultipartRequest.readNextPart(MultipartRequest.java:231) I have been successful uploading files with HttpClient and Tomcat locally, but not on this remote server. I found this thread from someone who had the same exception: http://mail-archives.apache.org/mod_mbox/jakarta-httpclient-user/200512.mbox/[EMAIL PROTECTED] Which had a recommended solution to Partbase.setTransferEncoding( null ); However this did not fix the issue and the server started returning NPEs. My question is this, the file upload works fine through Firefox and IE but does not work through HttpClient, does anyone have any suggestions I can try. I'm also open to any workaround, even shelling to another program to get this working. Thanks for any help you can provide. -james --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
