Hi Sid,

We will need some more information to debug this problem. Please send the following:

- the full stack trace of the error that you are receiving
- the code you are using to configure and execute the MultipartPostMethod
- a wire log <http://jakarta.apache.org/commons/httpclient/logging.html> excluding the binary data being posted. Please also take a look at <http://jakarta.apache.org/commons/logging/userguide.html> for more info on configuring logging.


Mike

Sid Subr wrote:

Hi Michael..

did not help..

I tried it using custom file parts and strings
suggested in one of the places to set encosing to
null. no use.. I still cannot upload the
file..although the encoding is not there anymore.. hmm
no idea.. still get java.net.SocketException: Software caused connection
abort: socket write error
at
java.net.SocketOutputStream.socketWrite0(Native
Method)



I know the wie logs can tell something, I set the system properties etc for logging it where do the logs go to? I cannot see any logs.. so I have to set something in my application's main to see the wire logs?


--- Michael Becke <[EMAIL PROTECTED]> wrote:


Hi Sid,

Try setting the transferEncoding of the Part to
null. Take a look at PartBase.setTransferEncoding(). You may also need
to turn off (set to null) the contentType and/or the charSet.


Mike

Sid Subr wrote:


I am using multipartpost and everything looks fine

on


the post from the web page and the application

driver


except for the fact that there is a
Content-Transfer-Encoding: binary

which is being sent by httpclient.. I think this

might


be the problem.. any suggestions

__________________________________
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/



---------------------------------------------------------------------

To unsubscribe, e-mail:

[EMAIL PROTECTED]

For additional commands, e-mail:

[EMAIL PROTECTED]




---------------------------------------------------------------------

To unsubscribe, e-mail:


[EMAIL PROTECTED]


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




__________________________________ Do you Yahoo!? Free Pop-Up Blocker - Get it now http://companion.yahoo.com/

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



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



Reply via email to