zen wrote:
How can I set the arguments of the CreateTransport() if i need Https connection through nsISocketTransport?

Use "ssl" as the socket type (i.e. pass an array containing "ssl" as the aSocketTypes argument)

Can I use nsISocketTransport to download a binary file? What other preferable method?

Yeah, that should work fine (although if you are using JavaScript, handling binary data won't be fun). But if you just want to use HTTP, then I would suggest using the normal nsIChannel interfaces (nsIIOService::newChannel etc).

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

Reply via email to