();
}
}
}
==
-Original Message-
From: Yong Chen [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 11, 2003 01:03
To: [EMAIL PROTECTED]
Subject: file upload (PUT method) progress report
Hi,
I'm using putmethod to put (large size) file on server. After calling executeMethod(),
I want to know
:
this.listeners.invokeListeners?
Thanks,
Yong Chen
-Original Message-
From: Kalnichevski, Oleg [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 11, 2003 12:46 AM
To: Commons HttpClient Project
Subject: RE: file upload (PUT method) progress report
Yong,
You should be using
Hi Yong,
1. I'm actually using putmethod, not postmethod, but I assume your
suggest applies to putmethod too, is it correct?
Yes, the same thing will work for both methods.
2. Since my put will put (upload) a local file onto server, so I
think ProgressInputStream will take a FileInputStream as
That's great, thanks a lot Mike.
Yong Chen
-Original Message-
From: Michael Becke [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 11, 2003 4:34 PM
To: Commons HttpClient Project
Subject: Re: file upload (PUT method) progress report
Hi Yong,
1. I'm actually using putmethod
Hi,
I'm using putmethod to put (large size) file on server. After calling executeMethod(),
I want to know the progress or the percentage of file uploaded so I can report it to
UI.
1. Is there any to do it now?
2. If not, are there any plans for adding it to the future release?
Thanks,
Yong
Hi Yong,
The only way to get progress at the moment is to track the reads on the
InputStream given to PostMethod.setRequestBody(InputStream).
Mike
On Nov 10, 2003, at 7:02 PM, Yong Chen wrote:
Hi,
I'm using putmethod to put (large size) file on server. After calling
executeMethod(), I