Yes.. I realized that.. but in what moment the total file size can be determined so? Because It is displayed before the download is done in most of times.. isn't it? How is it done?

Boris Zbarsky wrote:

Tomaz Nolêto wrote:

When mozilla starts dealing with a not renderizable file using nsExternalHelperAppService, I need to get file size info after the Show() method is called from a nsIHelperAppLauncherDialog. Can I do it inside Show() itself? What are the ways to do it?


First problem is that we might have no idea what size the file is -- the dialog is posed while we're still downloading the file...

-Boris
_______________________________________________
Mozilla-netlib mailing list
Mozilla-netlib@mozilla.org
http://mail.mozilla.org/listinfo/mozilla-netlib



--
Tomaz Nolêto
System Analyst - Embedded Linux Lab (10LE)
Instituto Nokia de Tecnologia (INdT)
[EMAIL PROTECTED]
+55 92 2126-1115

_______________________________________________
Mozilla-netlib mailing list
Mozilla-netlib@mozilla.org
http://mail.mozilla.org/listinfo/mozilla-netlib

Reply via email to