Hi all!

We are developing an application that uses HTTP (xml and form data) 
communication.

Everything goes fine but we are facing a little problem...

We are using nsIUploadChannel::setUploadStream function (all code is 
JavaScript) and the communication is right. If we send a little file, we don't 
need user feedback because all goes so fast that... you know what I'm talking 
about. But, if we send a big one, how can the user be informed? Is there such a 
thing like a listener for the upload? How can I get this working? For the 
response, we are using nsIStreamListener (onStartRequest, onStopRequest, 
onDataAvailable) and we can keep the user in touch with the downloading process 
(a progressmeter). We need someting like this for the upload process.

        Any help?

Thanks a lot!

(Sorry for my english).

_______________________________________________
Mozilla-xpcom mailing list
[email protected]
http://mail.mozilla.org/listinfo/mozilla-xpcom

Reply via email to