Thanks for all of your reply. I think I have worked
out the problem by setting LOG Level to FATAL. Then
the upload speed becomes to normal.

Brett

--- Tony Seebregts <[EMAIL PROTECTED]> wrote:

> Brett,
> 
> I routinely transfer 2+ GB files using HttpClient
> and I don't have any
> speed problems. It runs at almost full network speed
> and I'm not doing
> anything special - just using a POST request and an
> InputStreamRequestEntity with a FileInputStream to
> the file being
> transferred.
> 
> Its sometimes a little slow to establish a
> connection - but I suspect
> HttpURLConnection would be the same.
> 
> regards
> 
> Tony Seebregts
> 
> >I use HttpClient to upload a huge file(198M) to
> >server. I use RequestEntity and PostMethod to do
> that.
> > It took HttpClient 2 minutes to upload the file.
> >Compare to JDK HttpURLConnection(30 seconds), I
> find
> >HttpClient is much slower. Does anyone know how to
> >improve upload speed using HttpCLient?
> >
> >Thanks in advance. 
> >
> >Brett
> >
> >_
> >
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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

Reply via email to