OutOfMemory if using PUT

2004-03-17 Thread martin hilpert
Hello, i using the HttpClient in a Java Applet but if i transfer a file larger then 32MB i get a OutOfMemory. does some others has the same bug? greetz from Germany Martin

Re: OutOfMemory if using PUT

2004-03-17 Thread martin hilpert
Hallo Ortwin so schnell findet man sich wieder, du hast in der einen Java NG geantwortet > > http://cvs.apache.org/viewcvs.cgi/jakarta-commons/httpclient/src/examples/Ch unkEncodedPost.java?rev=1.4.2.1&only_with_tag=HTTPCLIENT_2_0_BRANCH&view=aut o > > gruß martin --

Re: OutOfMemory if using PUT

2004-03-17 Thread martin hilpert
Hello Oleg, > The problem is most likely caused by the PUT method buffering the request body in order to determine its length > that means there is no work around WITH PUT ? > You can avoid this problem by > > (1) using chunk-encoding > > http://cvs.apache.org/viewcvs.cgi/jakarta-commons/httpcli

Re: OutOfMemory if using PUT

2004-03-17 Thread martin hilpert
ok first thank it work now with files larger 32mb, but there is still a another problem. if the user transfer a large file like 32MB over a normal DSL connection (128kbit up / 796 kbit down) how could i find out how many bytes are send? is there anyway? martin ---

Re: OutOfMemory if using PUT

2004-03-17 Thread martin hilpert
Hi Ortwin, > Not from within HttpClient directly. You can however simply wrap your > stream and count the bytes read through the respective methods. how can i wrap it? any sampel code? thx martin - To unsubscribe, e-mail: [EM

Re: OutOfMemory if using PUT

2004-03-17 Thread martin hilpert
Hi, yes i heard about that class. no i dont use any swing control, i use awt. > Errm... Ever heard of the java.io.FilterInputStream class? It is > intended to be a base class for such a thing linke you need. If you are > using Swing you can just use javax.swing.ProgressMonitorInputStream. i don

Re: TestWebappBasicAuth fails on IIS

2004-03-18 Thread martin hilpert
hi, today i want to know how authentif to the server, with username:password greetz martin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Anmelden am Server

2004-03-18 Thread martin hilpert
Hallo Roland, nun mal auf deutsch weil mein englisch an seine grenzen kommt. mit "client.getState().setCredentials(null,null, new UsernamePasswordCredentials(Name,Password));" sollte das doch gehen oder? was ich will ist, mich an einen websever(linux), der mit .htaccess -datei geschützt ist anm

httpclient dont support ö ?

2004-03-18 Thread martin hilpert
Danke Ronald, hat geklappt. nun habe ich noch das problem das er kein Dateien mit umlauten versenden kann,z.b Übung1.txt irgendeine idee das zu lösen? gruß martin PS: Ronald, du bist mir eine große hilfe. - To unsubscribe,