Hello Bastian, > I can see in the logs how the data "blocks" > will transfered, but after a while the > transfer break. At least before it stop it > shows the following logs: > --------------------------------------------------------------------- > 2006-12-01 12:03:50,952 DEBUG [AWT-EventQueue-0] > org.apache.commons.httpclient.HttpMethodBase: > Resorting to protocol version default close connection policy > 2006-12-01 12:03:50,952 DEBUG [AWT-EventQueue-0] > org.apache.commons.httpclient.HttpMethodBase: > Should NOT close connection, using HTTP/1.1 > 2006-12-01 12:03:50,952 DEBUG [AWT-EventQueue-0] > org.apache.commons.httpclient.HttpConnection: > Releasing connection back to connection manager. > ---------------------------------------------------------------------
These are perfectly normal log messages you will see whenever HttpClient believes to have received the full response. > Maybe the postMethod is not able to transfer huge data > without some special buffering that I forgot to implement? No. There should not be any problems with file sizes below 2 gigabyte. > Or maybe it is a server problem > --------------------------------------------------------------------- > 2006-12-01 12:03:50,945 DEBUG [AWT-EventQueue-0] > httpclient.wire.content: << > " The server is temporarily unable to service your[\n]" > 2006-12-01 12:03:50,946 DEBUG [AWT-EventQueue-0] > httpclient.wire.content: << > " request due to maintenance downtime or capacity[\n]" > 2006-12-01 12:03:50,946 DEBUG [AWT-EventQueue-0] > httpclient.wire.content: << > " problems. Please try again later. [\n]" > --------------------------------------------------------------------- Well, this is a very precise error message from the server. It is taken down for maintenance or overloaded. Or else the server doesn't like your request for some other reason and just sends a wrong error page? > Have I to set a charset for application/octet-stream ? No, charset is only needed for character based formats. cheers, Roland --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
