-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
hi, in an extension implemented in javascript, i would like to use the nsIXmlHttpRequest object to query data from an url. based on the returned content-type, i would like to either parse the returned file and do some stuff, or save the binary data into a file. i cannot find a way to save the binary data. the @mozilla.org/network/file-output-stream;1 component seems not to implement writeFrom method and i'm running out of ideas. does anybody have some trick for doing so ? thanks, /mig -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFeBMItMkIv0/ruZgRAtC7AKCijiXKg0w/AYYCHALbhw/gAJt3JACffFVB bleMcTaaNGl6wW1mBn8LQmI= =N9Wn -----END PGP SIGNATURE----- _______________________________________________ dev-tech-xpcom mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-xpcom
