hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Becke <be...@u.washington.edu>
Subject Re: uploading large files
Date Fri, 05 Dec 2003 21:43:35 GMT
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 <becke@u.washington.edu> 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:
>>
> commons-httpclient-dev-unsubscribe@jakarta.apache.org
> 
>>>For additional commands, e-mail:
>>
>>commons-httpclient-dev-help@jakarta.apache.org
>>
>>
>>
> ---------------------------------------------------------------------
> 
>>To unsubscribe, e-mail:
>>
> 
> commons-httpclient-dev-unsubscribe@jakarta.apache.org
> 
>>For additional commands, e-mail:
>>commons-httpclient-dev-help@jakarta.apache.org
>>
> 
> 
> 
> __________________________________
> Do you Yahoo!?
> Free Pop-Up Blocker - Get it now
> http://companion.yahoo.com/
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-httpclient-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-httpclient-dev-help@jakarta.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-httpclient-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-httpclient-dev-help@jakarta.apache.org


Mime
View raw message