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 dont understand how i can monitor the stream.

HttpClient client = new HttpClient();
PutMethod put = new PutMethod(zielurl);
FileInputStream fin =new FileInputStream("C:\test.jpg");
put.setRequestBody(fin);
put.setRequestContentLength(PutMethod.CONTENT_LENGTH_CHUNKED);
client.executeMethod(put);
System.out.print(put.getResponseBodyAsString());
put.releaseConnection();




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

Reply via email to