开发者

Download file from URL to the file system with PhoneGap

开发者 https://www.devze.com 2023-04-10 11:17 出处:网络
How can I download a file from URL to the file system with PhoneGap? I see there is a plugin for this (http://www.toforge.com/2011/02/phonegap-android-plugin-for-download-files-from-url-on-sd-开发者_运

How can I download a file from URL to the file system with PhoneGap? I see there is a plugin for this (http://www.toforge.com/2011/02/phonegap-android-plugin-for-download-files-from-url-on-sd-开发者_运维技巧card/), but it's only for Android.

Are there any cross-platform solutions?


Looks like the FileWriter is supported on most platforms. I haven't tried it, but it might work for you.

http://docs.phonegap.com/en/1.3.0/phonegap_file_file.md.html#File

0

精彩评论

暂无评论...
验证码 换一张
取 消