Thanks, I'll check that out.
I've only been working with this stuff for a couple of months, and I have
yet to find a source for "best practices" for various xul/xpcom tasks. The
nsWebBrowserPersist solution was just the first one I found via random
googling!

Andy

-----Original Message-----
From: Christian Biesinger [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 09, 2004 4:48 PM
To: Hardacker, Andrew
Cc: [EMAIL PROTECTED]
Subject: Re: nsZipReader, nsZipEntry


On Wed, Jun 09, 2004 at 12:11:37PM -0400, Hardacker, Andrew wrote:
> Ah. I use nsWebBrowserPersist to download the file to disk. (I sent a code
> sample for that to this list about a month ago - I don't know if there's
an
> archive or not.)

I have to say... if you want this just to give it to nsIZipReader, I
would find nsIDownloader more suitable. In fact that's what mozilla's
jar: code uses, I believe.

See
http://lxr.mozilla.org/seamonkey/source/netwerk/base/public/nsIDownloader.id
l



The contents of this e-mail are intended for the named addressee only. It
contains information that may be confidential. Unless you are the named
addressee or an authorized designee, you may not copy or use it, or disclose
it to anyone else. If you received it in error please notify us immediately
and then destroy it. 

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

Reply via email to