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]
