You are viewing a plain text version of this content. The canonical link for it is here.
Posted to devnull@infra.apache.org by "sreeraj137 (GitHub)" <gi...@apache.org> on 2018/08/23 12:50:24 UTC
[GitHub] [cordova-plugin-file] sreeraj137 opened issue #245: How to
save binary data of zip file in cordova?
I am getting below response from axios.
this is response of zip file. please let me know how to save this filename.zip in cordova. Inside the ZIP there is image files.
PKM 14528.jpgìºwXSÛ¶7DD4)RE:¡7!ÙÒ{ÄH -t¢R¥*
(UDjDzt¥*U@ "Ò/î³÷¹÷çsÏ{ßçûëÝ3ÏÊ+sÌ9Æå7ÖZÔOÔEÀic#àÝ1;® `î©)@0ÒÐÓzt´Àð{¸E'ð÷¾Ô4Çh_J¿¾Â´#Nù÷>íHÿAÿð{û5ã¯ë¿õnÃo¹\÷Ã<áþ"úú"R¦®P߯ki@YQIS[QI[IIDYI[MQ[U 8þðøßgøüî?Vúüس1è=§ÿ³OçükÞÿÇvÂ38Ø_ôRpýµ(Üpõ*)(:`¿+ÔÛ-
[ Full content available at: https://github.com/apache/cordova-plugin-file/issues/245 ]
This message was relayed via gitbox.apache.org for devnull@infra.apache.org
[GitHub] [cordova-plugin-file] janpio commented on issue #245: How to
save binary data of zip file in cordova?
Posted by "janpio (GitHub)" <gi...@apache.org>.
What is axios?
[ Full content available at: https://github.com/apache/cordova-plugin-file/issues/245 ]
This message was relayed via gitbox.apache.org for devnull@infra.apache.org
[GitHub] [cordova-plugin-file] janpio commented on issue #245: How to
save binary data of zip file in cordova?
Posted by "janpio (GitHub)" <gi...@apache.org>.
How is this relevant to `cordova-plugin-file` then?
[ Full content available at: https://github.com/apache/cordova-plugin-file/issues/245 ]
This message was relayed via gitbox.apache.org for devnull@infra.apache.org
[GitHub] [cordova-plugin-file] sreeraj137 commented on issue #245:
How to save binary data of zip file in cordova?
Posted by "sreeraj137 (GitHub)" <gi...@apache.org>.
how we could write the zip file in .dataDirectory using cordova-plugin-file. Below is the sample code used.
var blob = new Blob([response.data], {type: 'application/zip'});
fileWriter.write(blob);
[ Full content available at: https://github.com/apache/cordova-plugin-file/issues/245 ]
This message was relayed via gitbox.apache.org for devnull@infra.apache.org
[GitHub] [cordova-plugin-file] sreeraj137 commented on issue #245:
How to save binary data of zip file in cordova?
Posted by "sreeraj137 (GitHub)" <gi...@apache.org>.
https://github.com/axios/axios
[ Full content available at: https://github.com/apache/cordova-plugin-file/issues/245 ]
This message was relayed via gitbox.apache.org for devnull@infra.apache.org
[GitHub] [cordova-plugin-file] janpio commented on issue #245: How to
save binary data of zip file in cordova?
Posted by "janpio (GitHub)" <gi...@apache.org>.
The documentation has something on storing existing binary files:
https://github.com/apache/cordova-plugin-file#store-an-existing-binary-file-
Did you try this?
[ Full content available at: https://github.com/apache/cordova-plugin-file/issues/245 ]
This message was relayed via gitbox.apache.org for devnull@infra.apache.org