You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by st...@apache.org on 2016/03/23 20:14:11 UTC
svn commit: r1736375 [9/44] - in /cordova/site/public: ./
announcements/2016/03/22/ blog/ docs/en/6.x/guide/cli/
docs/en/6.x/guide/hybrid/plugins/ docs/en/6.x/reference/cordova-cli/
docs/en/6.x/reference/cordova-plugin-splashscreen/ docs/en/dev/cordova...
Modified: cordova/site/public/docs/en/dev/cordova-plugin-file-transfer/index.html
URL: http://svn.apache.org/viewvc/cordova/site/public/docs/en/dev/cordova-plugin-file-transfer/index.html?rev=1736375&r1=1736374&r2=1736375&view=diff
==============================================================================
--- cordova/site/public/docs/en/dev/cordova-plugin-file-transfer/index.html (original)
+++ cordova/site/public/docs/en/dev/cordova-plugin-file-transfer/index.html Wed Mar 23 19:14:10 2016
@@ -19,10 +19,8 @@
<!-- CSS -->
<link rel="stylesheet" type="text/css" href="/static/css/main.css">
+ <link rel="stylesheet" type="text/css" href="/static/css/lib/syntax.css">
-
- <link rel="stylesheet" type="text/css" href="/static/js/lib/prettify/prettify.css">
-
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
@@ -135,7 +133,7 @@
<li>
- <a class="" href="../guide/overview/index.html">
+ <a class="" href="../../../../../guide/overview/index.html">
Overview
</a>
@@ -176,7 +174,7 @@
<li>
- <a class="" href="../guide/cli/index.html">
+ <a class="" href="../../../../../guide/cli/index.html">
Create your first app
</a>
@@ -193,7 +191,7 @@
<li>
- <a class="" href="../guide/support/index.html">
+ <a class="" href="../../../../../guide/support/index.html">
Platform support
</a>
@@ -229,7 +227,7 @@
<li>
- <a class="" href="../guide/platforms/android/index.html">
+ <a class="" href="../../../../../guide/platforms/android/index.html">
Android
</a>
@@ -246,7 +244,7 @@
<li>
- <a class="" href="../guide/platforms/blackberry10/home.html">
+ <a class="" href="../../../../../guide/platforms/blackberry10/home.html">
Blackberry 10
</a>
@@ -263,7 +261,7 @@
<li>
- <a class="" href="../guide/platforms/ios/index.html">
+ <a class="" href="../../../../../guide/platforms/ios/index.html">
iOS
</a>
@@ -280,7 +278,7 @@
<li>
- <a class="" href="../guide/platforms/osx/index.html">
+ <a class="" href="../../../../../guide/platforms/osx/index.html">
OS X
</a>
@@ -297,7 +295,7 @@
<li>
- <a class="" href="../guide/platforms/ubuntu/index.html">
+ <a class="" href="../../../../../guide/platforms/ubuntu/index.html">
Ubuntu
</a>
@@ -314,7 +312,7 @@
<li>
- <a class="" href="../guide/platforms/win8/index.html">
+ <a class="" href="../../../../../guide/platforms/win8/index.html">
Windows
</a>
@@ -331,7 +329,7 @@
<li>
- <a class="" href="../guide/platforms/wp8/home.html">
+ <a class="" href="../../../../../guide/platforms/wp8/home.html">
WP8
</a>
@@ -353,7 +351,7 @@
<li>
- <a class="" href="../platform_plugin_versioning_ref/index.html">
+ <a class="" href="../../../../../platform_plugin_versioning_ref/index.html">
Manage versions and platforms
</a>
@@ -375,7 +373,7 @@
<li>
- <a class="" href="../config_ref/images.html">
+ <a class="" href="../../../../../config_ref/images.html">
Customize icons
</a>
@@ -397,7 +395,7 @@
<li>
- <a class="" href="../cordova/storage/storage.html">
+ <a class="" href="../../../../../cordova/storage/storage.html">
Store data
</a>
@@ -414,7 +412,7 @@
<li>
- <a class="" href="../guide/appdev/privacy/index.html">
+ <a class="" href="../../../../../guide/appdev/privacy/index.html">
Manage privacy
</a>
@@ -431,7 +429,7 @@
<li>
- <a class="" href="../guide/appdev/security/index.html">
+ <a class="" href="../../../../../guide/appdev/security/index.html">
Manage security
</a>
@@ -448,7 +446,7 @@
<li>
- <a class="" href="../guide/appdev/whitelist/index.html">
+ <a class="" href="../../../../../guide/appdev/whitelist/index.html">
Whitelisting
</a>
@@ -494,7 +492,7 @@
<li>
- <a class="" href="../guide/hybrid/plugins/index.html">
+ <a class="" href="../../../../../guide/hybrid/plugins/index.html">
Create a plugin
</a>
@@ -535,7 +533,7 @@
<li>
- <a class="" href="../guide/platforms/android/plugin.html">
+ <a class="" href="../../../../../guide/platforms/android/plugin.html">
Android
</a>
@@ -552,7 +550,7 @@
<li>
- <a class="" href="../guide/platforms/blackberry10/plugin.html">
+ <a class="" href="../../../../../guide/platforms/blackberry10/plugin.html">
Blackberry 10
</a>
@@ -569,7 +567,7 @@
<li>
- <a class="" href="../guide/platforms/ios/plugin.html">
+ <a class="" href="../../../../../guide/platforms/ios/plugin.html">
iOS
</a>
@@ -586,7 +584,7 @@
<li>
- <a class="" href="../guide/platforms/win8/plugin.html">
+ <a class="" href="../../../../../guide/platforms/win8/plugin.html">
Windows
</a>
@@ -603,7 +601,7 @@
<li>
- <a class="" href="../guide/platforms/wp8/plugin.html">
+ <a class="" href="../../../../../guide/platforms/wp8/plugin.html">
WP8
</a>
@@ -625,7 +623,7 @@
<li>
- <a class="" href="../plugin_ref/plugman.html">
+ <a class="" href="../../../../../plugin_ref/plugman.html">
Use Plugman
</a>
@@ -671,7 +669,7 @@
<li>
- <a class="" href="../guide/hybrid/webviews/index.html">
+ <a class="" href="../../../../../guide/hybrid/webviews/index.html">
Embed Cordova in native apps
</a>
@@ -693,7 +691,7 @@
<li>
- <a class="" href="../guide/next/index.html">
+ <a class="" href="../../../../../guide/next/index.html">
Next Steps
</a>
@@ -734,7 +732,7 @@
<li>
- <a class="" href="../config_ref/index.html">
+ <a class="" href="../../../../../config_ref/index.html">
Config.xml
</a>
@@ -751,7 +749,7 @@
<li>
- <a class="" href="../cordova/events/events.html">
+ <a class="" href="../../../../../cordova/events/events.html">
Events
</a>
@@ -768,7 +766,7 @@
<li>
- <a class="" href="../cordova-cli/index.html">
+ <a class="" href="../../../../../reference/cordova-cli/index.html">
CLI
</a>
@@ -785,7 +783,7 @@
<li>
- <a class="" href="../guide/appdev/hooks/index.html">
+ <a class="" href="../../../../../guide/appdev/hooks/index.html">
Hooks
</a>
@@ -802,7 +800,7 @@
<li>
- <a class="" href="../plugin_ref/spec.html">
+ <a class="" href="../../../../../plugin_ref/spec.html">
Plugin.xml
</a>
@@ -838,7 +836,7 @@
<li>
- <a class="" href="../cordova-plugin-battery-status/index.html">
+ <a class="" href="../../../../../reference/cordova-plugin-battery-status/index.html">
Battery Status
</a>
@@ -855,7 +853,7 @@
<li>
- <a class="" href="../cordova-plugin-camera/index.html">
+ <a class="" href="../../../../../reference/cordova-plugin-camera/index.html">
Camera
</a>
@@ -872,7 +870,7 @@
<li>
- <a class="" href="../cordova-plugin-console/index.html">
+ <a class="" href="../../../../../reference/cordova-plugin-console/index.html">
Console
</a>
@@ -889,7 +887,7 @@
<li>
- <a class="" href="../cordova-plugin-contacts/index.html">
+ <a class="" href="../../../../../reference/cordova-plugin-contacts/index.html">
Contacts
</a>
@@ -906,7 +904,7 @@
<li>
- <a class="" href="../cordova-plugin-device/index.html">
+ <a class="" href="../../../../../reference/cordova-plugin-device/index.html">
Device
</a>
@@ -923,7 +921,7 @@
<li>
- <a class="" href="../cordova-plugin-device-motion/index.html">
+ <a class="" href="../../../../../reference/cordova-plugin-device-motion/index.html">
Device Motion
</a>
@@ -940,7 +938,7 @@
<li>
- <a class="" href="../cordova-plugin-device-orientation/index.html">
+ <a class="" href="../../../../../reference/cordova-plugin-device-orientation/index.html">
Device Orientation
</a>
@@ -957,7 +955,7 @@
<li>
- <a class="" href="../cordova-plugin-dialogs/index.html">
+ <a class="" href="../../../../../reference/cordova-plugin-dialogs/index.html">
Dialogs
</a>
@@ -974,7 +972,7 @@
<li>
- <a class="" href="../cordova-plugin-file/index.html">
+ <a class="" href="../../../../../reference/cordova-plugin-file/index.html">
File
</a>
@@ -991,13 +989,13 @@
<li>
- <a class="this-page" href="../cordova-plugin-file-transfer/index.html">
+ <a class="" href="../../../../../reference/cordova-plugin-file-transfer/index.html">
File Transfer
</a>
- <div id="page-toc" class="page-toc"></div>
+
</li>
@@ -1008,7 +1006,7 @@
<li>
- <a class="" href="../cordova-plugin-geolocation/index.html">
+ <a class="" href="../../../../../reference/cordova-plugin-geolocation/index.html">
Geolocation
</a>
@@ -1025,7 +1023,7 @@
<li>
- <a class="" href="../cordova-plugin-globalization/index.html">
+ <a class="" href="../../../../../reference/cordova-plugin-globalization/index.html">
Globalization
</a>
@@ -1042,7 +1040,7 @@
<li>
- <a class="" href="../cordova-plugin-inappbrowser/index.html">
+ <a class="" href="../../../../../reference/cordova-plugin-inappbrowser/index.html">
Inappbrowser
</a>
@@ -1059,7 +1057,7 @@
<li>
- <a class="" href="../cordova-plugin-media/index.html">
+ <a class="" href="../../../../../reference/cordova-plugin-media/index.html">
Media
</a>
@@ -1076,7 +1074,7 @@
<li>
- <a class="" href="../cordova-plugin-media-capture/index.html">
+ <a class="" href="../../../../../reference/cordova-plugin-media-capture/index.html">
Media Capture
</a>
@@ -1093,7 +1091,7 @@
<li>
- <a class="" href="../cordova-plugin-network-information/index.html">
+ <a class="" href="../../../../../reference/cordova-plugin-network-information/index.html">
Network Information
</a>
@@ -1110,7 +1108,7 @@
<li>
- <a class="" href="../cordova-plugin-splashscreen/index.html">
+ <a class="" href="../../../../../reference/cordova-plugin-splashscreen/index.html">
Splashscreen
</a>
@@ -1127,7 +1125,7 @@
<li>
- <a class="" href="../cordova-plugin-vibration/index.html">
+ <a class="" href="../../../../../reference/cordova-plugin-vibration/index.html">
Vibration
</a>
@@ -1144,7 +1142,7 @@
<li>
- <a class="" href="../cordova-plugin-statusbar/index.html">
+ <a class="" href="../../../../../reference/cordova-plugin-statusbar/index.html">
Statusbar
</a>
@@ -1161,7 +1159,7 @@
<li>
- <a class="" href="../cordova-plugin-whitelist/index.html">
+ <a class="" href="../../../../../reference/cordova-plugin-whitelist/index.html">
Whitelist
</a>
@@ -1178,7 +1176,7 @@
<li>
- <a class="" href="../cordova-plugin-legacy-whitelist/index.html">
+ <a class="" href="../../../../../reference/cordova-plugin-legacy-whitelist/index.html">
Legacy Whitelist
</a>
@@ -1210,10 +1208,10 @@
<!-- Page content -->
<div class="col-md-8 col-md-offset-1">
+ <div class=" content-header">
- <!-- ToC Dropdown (for XS and SM sizes only) -->
- <div class="toc-dropdown content-header visible-xs-block visible-sm-block">
- <div class="dropdown">
+ <!-- ToC Dropdown (for XS and SM sizes only) -->
+ <div class="toc-dropdown dropdown visible-xs-block visible-sm-block">
<button class="btn btn-default dropdown-toggle" type="button" id="tocDropdown" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
Table of Contents
<span class="caret"></span>
@@ -1225,7 +1223,7 @@
<li>
- <a class="" href="../guide/overview/index.html">
+ <a class="" href="../../../../../guide/overview/index.html">
Overview
</a>
</li>
@@ -1240,7 +1238,7 @@
<li>
- <a class="" href="../guide/cli/index.html">
+ <a class="" href="../../../../../guide/cli/index.html">
Create your first app
</a>
</li>
@@ -1249,7 +1247,7 @@
<li>
- <a class="" href="../guide/support/index.html">
+ <a class="" href="../../../../../guide/support/index.html">
Platform support
</a>
</li>
@@ -1261,7 +1259,7 @@
<li>
- <a class="" href="../guide/platforms/android/index.html">
+ <a class="" href="../../../../../guide/platforms/android/index.html">
Android
</a>
</li>
@@ -1270,7 +1268,7 @@
<li>
- <a class="" href="../guide/platforms/blackberry10/home.html">
+ <a class="" href="../../../../../guide/platforms/blackberry10/home.html">
Blackberry 10
</a>
</li>
@@ -1279,7 +1277,7 @@
<li>
- <a class="" href="../guide/platforms/ios/index.html">
+ <a class="" href="../../../../../guide/platforms/ios/index.html">
iOS
</a>
</li>
@@ -1288,7 +1286,7 @@
<li>
- <a class="" href="../guide/platforms/osx/index.html">
+ <a class="" href="../../../../../guide/platforms/osx/index.html">
OS X
</a>
</li>
@@ -1297,7 +1295,7 @@
<li>
- <a class="" href="../guide/platforms/ubuntu/index.html">
+ <a class="" href="../../../../../guide/platforms/ubuntu/index.html">
Ubuntu
</a>
</li>
@@ -1306,7 +1304,7 @@
<li>
- <a class="" href="../guide/platforms/win8/index.html">
+ <a class="" href="../../../../../guide/platforms/win8/index.html">
Windows
</a>
</li>
@@ -1315,7 +1313,7 @@
<li>
- <a class="" href="../guide/platforms/wp8/home.html">
+ <a class="" href="../../../../../guide/platforms/wp8/home.html">
WP8
</a>
</li>
@@ -1327,7 +1325,7 @@
<li>
- <a class="" href="../platform_plugin_versioning_ref/index.html">
+ <a class="" href="../../../../../platform_plugin_versioning_ref/index.html">
Manage versions and platforms
</a>
</li>
@@ -1339,7 +1337,7 @@
<li>
- <a class="" href="../config_ref/images.html">
+ <a class="" href="../../../../../config_ref/images.html">
Customize icons
</a>
</li>
@@ -1351,7 +1349,7 @@
<li>
- <a class="" href="../cordova/storage/storage.html">
+ <a class="" href="../../../../../cordova/storage/storage.html">
Store data
</a>
</li>
@@ -1360,7 +1358,7 @@
<li>
- <a class="" href="../guide/appdev/privacy/index.html">
+ <a class="" href="../../../../../guide/appdev/privacy/index.html">
Manage privacy
</a>
</li>
@@ -1369,7 +1367,7 @@
<li>
- <a class="" href="../guide/appdev/security/index.html">
+ <a class="" href="../../../../../guide/appdev/security/index.html">
Manage security
</a>
</li>
@@ -1378,7 +1376,7 @@
<li>
- <a class="" href="../guide/appdev/whitelist/index.html">
+ <a class="" href="../../../../../guide/appdev/whitelist/index.html">
Whitelisting
</a>
</li>
@@ -1396,7 +1394,7 @@
<li>
- <a class="" href="../guide/hybrid/plugins/index.html">
+ <a class="" href="../../../../../guide/hybrid/plugins/index.html">
Create a plugin
</a>
</li>
@@ -1411,7 +1409,7 @@
<li>
- <a class="" href="../guide/platforms/android/plugin.html">
+ <a class="" href="../../../../../guide/platforms/android/plugin.html">
Android
</a>
</li>
@@ -1420,7 +1418,7 @@
<li>
- <a class="" href="../guide/platforms/blackberry10/plugin.html">
+ <a class="" href="../../../../../guide/platforms/blackberry10/plugin.html">
Blackberry 10
</a>
</li>
@@ -1429,7 +1427,7 @@
<li>
- <a class="" href="../guide/platforms/ios/plugin.html">
+ <a class="" href="../../../../../guide/platforms/ios/plugin.html">
iOS
</a>
</li>
@@ -1438,7 +1436,7 @@
<li>
- <a class="" href="../guide/platforms/win8/plugin.html">
+ <a class="" href="../../../../../guide/platforms/win8/plugin.html">
Windows
</a>
</li>
@@ -1447,7 +1445,7 @@
<li>
- <a class="" href="../guide/platforms/wp8/plugin.html">
+ <a class="" href="../../../../../guide/platforms/wp8/plugin.html">
WP8
</a>
</li>
@@ -1459,7 +1457,7 @@
<li>
- <a class="" href="../plugin_ref/plugman.html">
+ <a class="" href="../../../../../plugin_ref/plugman.html">
Use Plugman
</a>
</li>
@@ -1477,7 +1475,7 @@
<li>
- <a class="" href="../guide/hybrid/webviews/index.html">
+ <a class="" href="../../../../../guide/hybrid/webviews/index.html">
Embed Cordova in native apps
</a>
</li>
@@ -1489,7 +1487,7 @@
<li>
- <a class="" href="../guide/next/index.html">
+ <a class="" href="../../../../../guide/next/index.html">
Next Steps
</a>
</li>
@@ -1504,7 +1502,7 @@
<li>
- <a class="" href="../config_ref/index.html">
+ <a class="" href="../../../../../config_ref/index.html">
Config.xml
</a>
</li>
@@ -1513,7 +1511,7 @@
<li>
- <a class="" href="../cordova/events/events.html">
+ <a class="" href="../../../../../cordova/events/events.html">
Events
</a>
</li>
@@ -1522,7 +1520,7 @@
<li>
- <a class="" href="../cordova-cli/index.html">
+ <a class="" href="../../../../../reference/cordova-cli/index.html">
CLI
</a>
</li>
@@ -1531,7 +1529,7 @@
<li>
- <a class="" href="../guide/appdev/hooks/index.html">
+ <a class="" href="../../../../../guide/appdev/hooks/index.html">
Hooks
</a>
</li>
@@ -1540,7 +1538,7 @@
<li>
- <a class="" href="../plugin_ref/spec.html">
+ <a class="" href="../../../../../plugin_ref/spec.html">
Plugin.xml
</a>
</li>
@@ -1552,7 +1550,7 @@
<li>
- <a class="" href="../cordova-plugin-battery-status/index.html">
+ <a class="" href="../../../../../reference/cordova-plugin-battery-status/index.html">
Battery Status
</a>
</li>
@@ -1561,7 +1559,7 @@
<li>
- <a class="" href="../cordova-plugin-camera/index.html">
+ <a class="" href="../../../../../reference/cordova-plugin-camera/index.html">
Camera
</a>
</li>
@@ -1570,7 +1568,7 @@
<li>
- <a class="" href="../cordova-plugin-console/index.html">
+ <a class="" href="../../../../../reference/cordova-plugin-console/index.html">
Console
</a>
</li>
@@ -1579,7 +1577,7 @@
<li>
- <a class="" href="../cordova-plugin-contacts/index.html">
+ <a class="" href="../../../../../reference/cordova-plugin-contacts/index.html">
Contacts
</a>
</li>
@@ -1588,7 +1586,7 @@
<li>
- <a class="" href="../cordova-plugin-device/index.html">
+ <a class="" href="../../../../../reference/cordova-plugin-device/index.html">
Device
</a>
</li>
@@ -1597,7 +1595,7 @@
<li>
- <a class="" href="../cordova-plugin-device-motion/index.html">
+ <a class="" href="../../../../../reference/cordova-plugin-device-motion/index.html">
Device Motion
</a>
</li>
@@ -1606,7 +1604,7 @@
<li>
- <a class="" href="../cordova-plugin-device-orientation/index.html">
+ <a class="" href="../../../../../reference/cordova-plugin-device-orientation/index.html">
Device Orientation
</a>
</li>
@@ -1615,7 +1613,7 @@
<li>
- <a class="" href="../cordova-plugin-dialogs/index.html">
+ <a class="" href="../../../../../reference/cordova-plugin-dialogs/index.html">
Dialogs
</a>
</li>
@@ -1624,7 +1622,7 @@
<li>
- <a class="" href="../cordova-plugin-file/index.html">
+ <a class="" href="../../../../../reference/cordova-plugin-file/index.html">
File
</a>
</li>
@@ -1633,7 +1631,7 @@
<li>
- <a class="this-page" href="../cordova-plugin-file-transfer/index.html">
+ <a class="" href="../../../../../reference/cordova-plugin-file-transfer/index.html">
File Transfer
</a>
</li>
@@ -1642,7 +1640,7 @@
<li>
- <a class="" href="../cordova-plugin-geolocation/index.html">
+ <a class="" href="../../../../../reference/cordova-plugin-geolocation/index.html">
Geolocation
</a>
</li>
@@ -1651,7 +1649,7 @@
<li>
- <a class="" href="../cordova-plugin-globalization/index.html">
+ <a class="" href="../../../../../reference/cordova-plugin-globalization/index.html">
Globalization
</a>
</li>
@@ -1660,7 +1658,7 @@
<li>
- <a class="" href="../cordova-plugin-inappbrowser/index.html">
+ <a class="" href="../../../../../reference/cordova-plugin-inappbrowser/index.html">
Inappbrowser
</a>
</li>
@@ -1669,7 +1667,7 @@
<li>
- <a class="" href="../cordova-plugin-media/index.html">
+ <a class="" href="../../../../../reference/cordova-plugin-media/index.html">
Media
</a>
</li>
@@ -1678,7 +1676,7 @@
<li>
- <a class="" href="../cordova-plugin-media-capture/index.html">
+ <a class="" href="../../../../../reference/cordova-plugin-media-capture/index.html">
Media Capture
</a>
</li>
@@ -1687,7 +1685,7 @@
<li>
- <a class="" href="../cordova-plugin-network-information/index.html">
+ <a class="" href="../../../../../reference/cordova-plugin-network-information/index.html">
Network Information
</a>
</li>
@@ -1696,7 +1694,7 @@
<li>
- <a class="" href="../cordova-plugin-splashscreen/index.html">
+ <a class="" href="../../../../../reference/cordova-plugin-splashscreen/index.html">
Splashscreen
</a>
</li>
@@ -1705,7 +1703,7 @@
<li>
- <a class="" href="../cordova-plugin-vibration/index.html">
+ <a class="" href="../../../../../reference/cordova-plugin-vibration/index.html">
Vibration
</a>
</li>
@@ -1714,7 +1712,7 @@
<li>
- <a class="" href="../cordova-plugin-statusbar/index.html">
+ <a class="" href="../../../../../reference/cordova-plugin-statusbar/index.html">
Statusbar
</a>
</li>
@@ -1723,7 +1721,7 @@
<li>
- <a class="" href="../cordova-plugin-whitelist/index.html">
+ <a class="" href="../../../../../reference/cordova-plugin-whitelist/index.html">
Whitelist
</a>
</li>
@@ -1732,7 +1730,7 @@
<li>
- <a class="" href="../cordova-plugin-legacy-whitelist/index.html">
+ <a class="" href="../../../../../reference/cordova-plugin-legacy-whitelist/index.html">
Legacy Whitelist
</a>
</li>
@@ -1751,13 +1749,13 @@
</ul>
</div>
- </div>
- <div class="content-header">
+
+
+ <a class="edit" href="https://github.com/apache/cordova-plugin-file-transfer/blob/1.5.0/README.md"><span class="glyphicon glyphicon-pencil" aria-hidden="true"></span> Edit</a>
- <a class="edit" href="https://github.com/apache/cordova-plugin-file-transfer/blob/1.5.0/README.md">
- <span class="glyphicon glyphicon-pencil" aria-hidden="true"></span> Edit
- </a>
+
+
<!-- Language dropdown -->
<div class="dropdown">
@@ -2041,7 +2039,9 @@
<!-- Version dropdown -->
<div class="dropdown">
<button class="btn btn-default dropdown-toggle" type="button" id="versionDropdown" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
- dev
+ 6.x
+
+ (Latest)
<span class="caret"></span>
</button>
@@ -2052,6 +2052,11 @@
<li>
+
+
+
+
+
@@ -2060,12 +2065,10 @@
<a href="/docs/en/dev/cordova-plugin-file-transfer/index.html">
- <span class="selected">
-
+
dev
- </span>
</a>
</li>
@@ -2073,20 +2076,27 @@
<li>
+
+
+
+
+
- <a href="/docs/en/6.x/cordova-plugin-file-transfer/index.html">
+ <a href="/docs/en/dev/cordova-plugin-file-transfer/index.html">
-
+ <span class="selected">
+
6.x
(Latest)
+ </span>
</a>
</li>
@@ -2094,13 +2104,18 @@
<li>
+
+
+
+
+
- <a href="/docs/en/5.4.0/cordova-plugin-file-transfer/index.html">
+ <a href="/docs/en/dev/cordova-plugin-file-transfer/index.html">
5.4.0
@@ -2113,13 +2128,18 @@
<li>
+
+
+
+
+
- <a href="/docs/en/5.1.1/cordova-plugin-file-transfer/index.html">
+ <a href="/docs/en/dev/cordova-plugin-file-transfer/index.html">
5.1.1
@@ -2132,13 +2152,18 @@
<li>
+
+
+
+
+
- <a href="/docs/en/5.0.0/cordova-plugin-file-transfer/index.html">
+ <a href="/docs/en/dev/cordova-plugin-file-transfer/index.html">
5.0.0
@@ -2151,13 +2176,18 @@
<li>
+
+
+
+
+
- <a href="/docs/en/4.0.0/cordova-plugin-file-transfer/index.html">
+ <a href="/docs/en/dev/cordova-plugin-file-transfer/index.html">
4.0.0
@@ -2170,13 +2200,18 @@
<li>
+
+
+
+
+
- <a href="/docs/en/3.6.0/cordova-plugin-file-transfer/index.html">
+ <a href="/docs/en/dev/cordova-plugin-file-transfer/index.html">
3.6.0
@@ -2189,13 +2224,18 @@
<li>
+
+
+
+
+
- <a href="/docs/en/3.5.0/cordova-plugin-file-transfer/index.html">
+ <a href="/docs/en/dev/cordova-plugin-file-transfer/index.html">
3.5.0
@@ -2208,13 +2248,18 @@
<li>
+
+
+
+
+
- <a href="/docs/en/3.4.0/cordova-plugin-file-transfer/index.html">
+ <a href="/docs/en/dev/cordova-plugin-file-transfer/index.html">
3.4.0
@@ -2227,13 +2272,18 @@
<li>
+
+
+
+
+
- <a href="/docs/en/3.3.0/cordova-plugin-file-transfer/index.html">
+ <a href="/docs/en/dev/cordova-plugin-file-transfer/index.html">
3.3.0
@@ -2246,13 +2296,18 @@
<li>
+
+
+
+
+
- <a href="/docs/en/3.2.0/cordova-plugin-file-transfer/index.html">
+ <a href="/docs/en/dev/cordova-plugin-file-transfer/index.html">
3.2.0
@@ -2265,13 +2320,18 @@
<li>
+
+
+
+
+
- <a href="/docs/en/3.1.0/cordova-plugin-file-transfer/index.html">
+ <a href="/docs/en/dev/cordova-plugin-file-transfer/index.html">
3.1.0
@@ -2284,13 +2344,18 @@
<li>
+
+
+
+
+
- <a href="/docs/en/3.0.0/cordova-plugin-file-transfer/index.html">
+ <a href="/docs/en/dev/cordova-plugin-file-transfer/index.html">
3.0.0
@@ -2303,13 +2368,18 @@
<li>
+
+
+
+
+
- <a href="/docs/en/2.9.0/cordova-plugin-file-transfer/index.html">
+ <a href="/docs/en/dev/cordova-plugin-file-transfer/index.html">
2.9.0
@@ -2322,13 +2392,18 @@
<li>
+
+
+
+
+
- <a href="/docs/en/2.8.0/cordova-plugin-file-transfer/index.html">
+ <a href="/docs/en/dev/cordova-plugin-file-transfer/index.html">
2.8.0
@@ -2341,13 +2416,18 @@
<li>
+
+
+
+
+
- <a href="/docs/en/2.7.0/cordova-plugin-file-transfer/index.html">
+ <a href="/docs/en/dev/cordova-plugin-file-transfer/index.html">
2.7.0
@@ -2360,13 +2440,18 @@
<li>
+
+
+
+
+
- <a href="/docs/en/2.6.0/cordova-plugin-file-transfer/index.html">
+ <a href="/docs/en/dev/cordova-plugin-file-transfer/index.html">
2.6.0
@@ -2379,13 +2464,18 @@
<li>
+
+
+
+
+
- <a href="/docs/en/2.5.0/cordova-plugin-file-transfer/index.html">
+ <a href="/docs/en/dev/cordova-plugin-file-transfer/index.html">
2.5.0
@@ -2398,13 +2488,18 @@
<li>
+
+
+
+
+
- <a href="/docs/en/2.4.0/cordova-plugin-file-transfer/index.html">
+ <a href="/docs/en/dev/cordova-plugin-file-transfer/index.html">
2.4.0
@@ -2417,13 +2512,18 @@
<li>
+
+
+
+
+
- <a href="/docs/en/2.3.0/cordova-plugin-file-transfer/index.html">
+ <a href="/docs/en/dev/cordova-plugin-file-transfer/index.html">
2.3.0
@@ -2436,13 +2536,18 @@
<li>
+
+
+
+
+
- <a href="/docs/en/2.2.0/cordova-plugin-file-transfer/index.html">
+ <a href="/docs/en/dev/cordova-plugin-file-transfer/index.html">
2.2.0
@@ -2455,13 +2560,18 @@
<li>
+
+
+
+
+
- <a href="/docs/en/2.1.0/cordova-plugin-file-transfer/index.html">
+ <a href="/docs/en/dev/cordova-plugin-file-transfer/index.html">
2.1.0
@@ -2474,13 +2584,18 @@
<li>
+
+
+
+
+
- <a href="/docs/en/2.0.0/cordova-plugin-file-transfer/index.html">
+ <a href="/docs/en/dev/cordova-plugin-file-transfer/index.html">
2.0.0
@@ -2493,13 +2608,18 @@
<li>
+
+
+
+
+
- <a href="/docs/en/1.9.0/cordova-plugin-file-transfer/index.html">
+ <a href="/docs/en/dev/cordova-plugin-file-transfer/index.html">
1.9.0
@@ -2512,13 +2632,18 @@
<li>
+
+
+
+
+
- <a href="/docs/en/1.8.1/cordova-plugin-file-transfer/index.html">
+ <a href="/docs/en/dev/cordova-plugin-file-transfer/index.html">
1.8.1
@@ -2531,13 +2656,18 @@
<li>
+
+
+
+
+
- <a href="/docs/en/1.8.0/cordova-plugin-file-transfer/index.html">
+ <a href="/docs/en/dev/cordova-plugin-file-transfer/index.html">
1.8.0
@@ -2550,13 +2680,18 @@
<li>
+
+
+
+
+
- <a href="/docs/en/1.7.0/cordova-plugin-file-transfer/index.html">
+ <a href="/docs/en/dev/cordova-plugin-file-transfer/index.html">
1.7.0
@@ -2569,13 +2704,18 @@
<li>
+
+
+
+
+
- <a href="/docs/en/1.6.1/cordova-plugin-file-transfer/index.html">
+ <a href="/docs/en/dev/cordova-plugin-file-transfer/index.html">
1.6.1
@@ -2588,13 +2728,18 @@
<li>
+
+
+
+
+
- <a href="/docs/en/1.6.0/cordova-plugin-file-transfer/index.html">
+ <a href="/docs/en/dev/cordova-plugin-file-transfer/index.html">
1.6.0
@@ -2607,13 +2752,18 @@
<li>
+
+
+
+
+
- <a href="/docs/en/1.5.0/cordova-plugin-file-transfer/index.html">
+ <a href="/docs/en/dev/cordova-plugin-file-transfer/index.html">
1.5.0
@@ -2635,23 +2785,6 @@
<!-- Show warnings for special versions (i.e. non-latest, and dev) -->
-
-
-
-
-
- <div class="alert alert-info docs-alert" role="alert">
- <button type="button" class="close" data-dismiss="alert" aria-label="Close">
- <span aria-hidden="true">×</span>
- </button>
- This version of the documentation is under development!
- <a href="/docs/en/latest/cordova-plugin-file-transfer/index.html">
- Click here for the latest released version.
- </a>
- </div>
-
-
-
<div class="alert alert-warning docs-alert" role="alert">
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
@@ -2689,10 +2822,10 @@
<p>This plugin allows you to upload and download files.</p>
-<p>This plugin defines global <code class="prettyprint">FileTransfer</code>, <code class="prettyprint">FileUploadOptions</code> Constructors.</p>
+<p>This plugin defines global <code>FileTransfer</code>, <code>FileUploadOptions</code> Constructors.</p>
-<p>Although in the global scope, they are not available until after the <code class="prettyprint">deviceready</code> event.</p>
-<div class="highlight"><pre><code class="language-text" data-lang="text">document.addEventListener("deviceready", onDeviceReady, false);
+<p>Although in the global scope, they are not available until after the <code>deviceready</code> event.</p>
+<div class="highlight"><pre><code class="language-" data-lang="">document.addEventListener("deviceready", onDeviceReady, false);
function onDeviceReady() {
console.log(FileTransfer);
}
@@ -2700,7 +2833,7 @@ function onDeviceReady() {
<p>:warning: Report issues on the <a href="https://issues.apache.org/jira/issues/?jql=project%20%3D%20CB%20AND%20status%20in%20%28Open%2C%20%22In%20Progress%22%2C%20Reopened%29%20AND%20resolution%20%3D%20Unresolved%20AND%20component%20%3D%20%22Plugin%20File%20Transfer%22%20ORDER%20BY%20priority%20DESC%2C%20summary%20ASC%2C%20updatedDate%20DESC">Apache Cordova issue tracker</a></p>
<h2>Installation</h2>
-<div class="highlight"><pre><code class="language-text" data-lang="text">cordova plugin add cordova-plugin-file-transfer
+<div class="highlight"><pre><code class="language-" data-lang="">cordova plugin add cordova-plugin-file-transfer
</code></pre></div>
<h2>Supported Platforms</h2>
@@ -2716,19 +2849,19 @@ function onDeviceReady() {
<li>Windows</li>
</ul>
-<p>* <em>Do not support <code class="prettyprint">onprogress</code> nor <code class="prettyprint">abort()</code></em></p>
+<p>* <em>Do not support <code>onprogress</code> nor <code>abort()</code></em></p>
-<p>** <em>Do not support <code class="prettyprint">onprogress</code></em></p>
+<p>** <em>Do not support <code>onprogress</code></em></p>
<h1>FileTransfer</h1>
-<p>The <code class="prettyprint">FileTransfer</code> object provides a way to upload files using an HTTP
+<p>The <code>FileTransfer</code> object provides a way to upload files using an HTTP
multi-part POST or PUT request, and to download files as well.</p>
<h2>Properties</h2>
<ul>
-<li><strong>onprogress</strong>: Called with a <code class="prettyprint">ProgressEvent</code> whenever a new chunk of data is transferred. <em>(Function)</em></li>
+<li><strong>onprogress</strong>: Called with a <code>ProgressEvent</code> whenever a new chunk of data is transferred. <em>(Function)</em></li>
</ul>
<h2>Methods</h2>
@@ -2745,74 +2878,74 @@ multi-part POST or PUT request, and to d
<ul>
<li><p><strong>fileURL</strong>: Filesystem URL representing the file on the device or a <a href="https://en.wikipedia.org/wiki/Data_URI_scheme">data: URI</a>. For backwards compatibility, this can also be the full path of the file on the device. (See <a href="#backwards-compatibility-notes">Backwards Compatibility Notes</a> below)</p></li>
-<li><p><strong>server</strong>: URL of the server to receive the file, as encoded by <code class="prettyprint">encodeURI()</code>.</p></li>
-<li><p><strong>successCallback</strong>: A callback that is passed a <code class="prettyprint">FileUploadResult</code> object. <em>(Function)</em></p></li>
-<li><p><strong>errorCallback</strong>: A callback that executes if an error occurs retrieving the <code class="prettyprint">FileUploadResult</code>. Invoked with a <code class="prettyprint">FileTransferError</code> object. <em>(Function)</em></p></li>
+<li><p><strong>server</strong>: URL of the server to receive the file, as encoded by <code>encodeURI()</code>.</p></li>
+<li><p><strong>successCallback</strong>: A callback that is passed a <code>FileUploadResult</code> object. <em>(Function)</em></p></li>
+<li><p><strong>errorCallback</strong>: A callback that executes if an error occurs retrieving the <code>FileUploadResult</code>. Invoked with a <code>FileTransferError</code> object. <em>(Function)</em></p></li>
<li><p><strong>options</strong>: Optional parameters <em>(Object)</em>. Valid keys:</p>
<ul>
-<li><strong>fileKey</strong>: The name of the form element. Defaults to <code class="prettyprint">file</code>. (DOMString)</li>
-<li><strong>fileName</strong>: The file name to use when saving the file on the server. Defaults to <code class="prettyprint">image.jpg</code>. (DOMString)</li>
-<li><strong>httpMethod</strong>: The HTTP method to use - either <code class="prettyprint">PUT</code> or <code class="prettyprint">POST</code>. Defaults to <code class="prettyprint">POST</code>. (DOMString)</li>
-<li><strong>mimeType</strong>: The mime type of the data to upload. Defaults to <code class="prettyprint">image/jpeg</code>. (DOMString)</li>
+<li><strong>fileKey</strong>: The name of the form element. Defaults to <code>file</code>. (DOMString)</li>
+<li><strong>fileName</strong>: The file name to use when saving the file on the server. Defaults to <code>image.jpg</code>. (DOMString)</li>
+<li><strong>httpMethod</strong>: The HTTP method to use - either <code>PUT</code> or <code>POST</code>. Defaults to <code>POST</code>. (DOMString)</li>
+<li><strong>mimeType</strong>: The mime type of the data to upload. Defaults to <code>image/jpeg</code>. (DOMString)</li>
<li><strong>params</strong>: A set of optional key/value pairs to pass in the HTTP request. (Object, key/value - DOMString)</li>
-<li><strong>chunkedMode</strong>: Whether to upload the data in chunked streaming mode. Defaults to <code class="prettyprint">true</code>. (Boolean)</li>
+<li><strong>chunkedMode</strong>: Whether to upload the data in chunked streaming mode. Defaults to <code>true</code>. (Boolean)</li>
<li><strong>headers</strong>: A map of header name/header values. Use an array to specify more than one value. On iOS, FireOS, and Android, if a header named Content-Type is present, multipart form data will NOT be used. (Object)</li>
</ul></li>
-<li><p><strong>trustAllHosts</strong>: Optional parameter, defaults to <code class="prettyprint">false</code>. If set to <code class="prettyprint">true</code>, it accepts all security certificates. This is useful since Android rejects self-signed security certificates. Not recommended for production use. Supported on Android and iOS. <em>(boolean)</em></p></li>
+<li><p><strong>trustAllHosts</strong>: Optional parameter, defaults to <code>false</code>. If set to <code>true</code>, it accepts all security certificates. This is useful since Android rejects self-signed security certificates. Not recommended for production use. Supported on Android and iOS. <em>(boolean)</em></p></li>
</ul>
<h3>Example</h3>
-<div class="highlight"><pre><code class="language-text" data-lang="text">// !! Assumes variable fileURL contains a valid URL to a text file on the device,
+<div class="highlight"><pre><code class="language-" data-lang="">// !! Assumes variable fileURL contains a valid URL to a text file on the device,
// for example, cdvfile://localhost/persistent/path/to/file.txt
var win = function (r) {
- console.log("Code = " + r.responseCode);
- console.log("Response = " + r.response);
- console.log("Sent = " + r.bytesSent);
+ console.log("Code = " + r.responseCode);
+ console.log("Response = " + r.response);
+ console.log("Sent = " + r.bytesSent);
}
var fail = function (error) {
- alert("An error has occurred: Code = " + error.code);
- console.log("upload error source " + error.source);
- console.log("upload error target " + error.target);
+ alert("An error has occurred: Code = " + error.code);
+ console.log("upload error source " + error.source);
+ console.log("upload error target " + error.target);
}
var options = new FileUploadOptions();
-options.fileKey = "file";
-options.fileName = fileURL.substr(fileURL.lastIndexOf('/') + 1);
-options.mimeType = "text/plain";
+options.fileKey = "file";
+options.fileName = fileURL.substr(fileURL.lastIndexOf('/') + 1);
+options.mimeType = "text/plain";
var params = {};
-params.value1 = "test";
-params.value2 = "param";
+params.value1 = "test";
+params.value2 = "param";
options.params = params;
var ft = new FileTransfer();
-ft.upload(fileURL, encodeURI("http://some.server.com/upload.php"), win, fail, options);
+ft.upload(fileURL, encodeURI("http://some.server.com/upload.php"), win, fail, options);
</code></pre></div>
<h3>Example with Upload Headers and Progress Events (Android and iOS only)</h3>
-<div class="highlight"><pre><code class="language-text" data-lang="text">function win(r) {
- console.log("Code = " + r.responseCode);
- console.log("Response = " + r.response);
- console.log("Sent = " + r.bytesSent);
+<div class="highlight"><pre><code class="language-" data-lang="">function win(r) {
+ console.log("Code = " + r.responseCode);
+ console.log("Response = " + r.response);
+ console.log("Sent = " + r.bytesSent);
}
function fail(error) {
- alert("An error has occurred: Code = " + error.code);
- console.log("upload error source " + error.source);
- console.log("upload error target " + error.target);
+ alert("An error has occurred: Code = " + error.code);
+ console.log("upload error source " + error.source);
+ console.log("upload error target " + error.target);
}
-var uri = encodeURI("http://some.server.com/upload.php");
+var uri = encodeURI("http://some.server.com/upload.php");
var options = new FileUploadOptions();
-options.fileKey="file";
-options.fileName=fileURL.substr(fileURL.lastIndexOf('/')+1);
-options.mimeType="text/plain";
+options.fileKey="file";
+options.fileName=fileURL.substr(fileURL.lastIndexOf('/')+1);
+options.mimeType="text/plain";
-var headers={'headerParam':'headerValue'};
+var headers={'headerParam':'headerValue'};
options.headers = headers;
@@ -2828,8 +2961,8 @@ ft.upload(fileURL, uri, win, fail, optio
</code></pre></div>
<h2>FileUploadResult</h2>
-<p>A <code class="prettyprint">FileUploadResult</code> object is passed to the success callback of the
-<code class="prettyprint">FileTransfer</code> object's <code class="prettyprint">upload()</code> method.</p>
+<p>A <code>FileUploadResult</code> object is passed to the success callback of the
+<code>FileTransfer</code> object's <code>upload()</code> method.</p>
<h3>Properties</h3>
@@ -2847,7 +2980,7 @@ ft.upload(fileURL, uri, win, fail, optio
<h3>iOS Quirks</h3>
<ul>
-<li>Does not support <code class="prettyprint">responseCode</code> or <code class="prettyprint">bytesSent</code>.</li>
+<li>Does not support <code>responseCode</code> or <code>bytesSent</code>.</li>
</ul>
<h3>Browser Quirks</h3>
@@ -2861,36 +2994,36 @@ ft.upload(fileURL, uri, win, fail, optio
<p><strong>Parameters</strong>:</p>
<ul>
-<li><p><strong>source</strong>: URL of the server to download the file, as encoded by <code class="prettyprint">encodeURI()</code>.</p></li>
+<li><p><strong>source</strong>: URL of the server to download the file, as encoded by <code>encodeURI()</code>.</p></li>
<li><p><strong>target</strong>: Filesystem url representing the file on the device. For backwards compatibility, this can also be the full path of the file on the device. (See [Backwards Compatibility Notes] below)</p></li>
-<li><p><strong>successCallback</strong>: A callback that is passed a <code class="prettyprint">FileEntry</code> object. <em>(Function)</em></p></li>
-<li><p><strong>errorCallback</strong>: A callback that executes if an error occurs when retrieving the <code class="prettyprint">FileEntry</code>. Invoked with a <code class="prettyprint">FileTransferError</code> object. <em>(Function)</em></p></li>
-<li><p><strong>trustAllHosts</strong>: Optional parameter, defaults to <code class="prettyprint">false</code>. If set to <code class="prettyprint">true</code>, it accepts all security certificates. This is useful because Android rejects self-signed security certificates. Not recommended for production use. Supported on Android and iOS. <em>(boolean)</em></p></li>
+<li><p><strong>successCallback</strong>: A callback that is passed a <code>FileEntry</code> object. <em>(Function)</em></p></li>
+<li><p><strong>errorCallback</strong>: A callback that executes if an error occurs when retrieving the <code>FileEntry</code>. Invoked with a <code>FileTransferError</code> object. <em>(Function)</em></p></li>
+<li><p><strong>trustAllHosts</strong>: Optional parameter, defaults to <code>false</code>. If set to <code>true</code>, it accepts all security certificates. This is useful because Android rejects self-signed security certificates. Not recommended for production use. Supported on Android and iOS. <em>(boolean)</em></p></li>
<li><p><strong>options</strong>: Optional parameters, currently only supports headers (such as Authorization (Basic Authentication), etc).</p></li>
</ul>
<h3>Example</h3>
-<div class="highlight"><pre><code class="language-text" data-lang="text">// !! Assumes variable fileURL contains a valid URL to a path on the device,
+<div class="highlight"><pre><code class="language-" data-lang="">// !! Assumes variable fileURL contains a valid URL to a path on the device,
// for example, cdvfile://localhost/persistent/path/to/downloads/
var fileTransfer = new FileTransfer();
-var uri = encodeURI("http://some.server.com/download.php");
+var uri = encodeURI("http://some.server.com/download.php");
fileTransfer.download(
uri,
fileURL,
function(entry) {
- console.log("download complete: " + entry.toURL());
+ console.log("download complete: " + entry.toURL());
},
function(error) {
- console.log("download error source " + error.source);
- console.log("download error target " + error.target);
- console.log("upload error code" + error.code);
+ console.log("download error source " + error.source);
+ console.log("download error target " + error.target);
+ console.log("upload error code" + error.code);
},
false,
{
headers: {
- "Authorization": "Basic dGVzdHVzZXJuYW1lOnRlc3RwYXNzd29yZA=="
+ "Authorization": "Basic dGVzdHVzZXJuYW1lOnRlc3RwYXNzd29yZA=="
}
}
);
@@ -2898,7 +3031,7 @@ fileTransfer.download(
<h3>WP8 Quirks</h3>
<ul>
-<li>Download requests is being cached by native implementation. To avoid caching, pass <code class="prettyprint">if-Modified-Since</code> header to download method.</li>
+<li>Download requests is being cached by native implementation. To avoid caching, pass <code>if-Modified-Since</code> header to download method.</li>
</ul>
<h3>Browser Quirks</h3>
@@ -2912,32 +3045,32 @@ fileTransfer.download(
<p>Aborts an in-progress transfer. The onerror callback is passed a FileTransferError object which has an error code of FileTransferError.ABORT_ERR.</p>
<h3>Example</h3>
-<div class="highlight"><pre><code class="language-text" data-lang="text">// !! Assumes variable fileURL contains a valid URL to a text file on the device,
+<div class="highlight"><pre><code class="language-" data-lang="">// !! Assumes variable fileURL contains a valid URL to a text file on the device,
// for example, cdvfile://localhost/persistent/path/to/file.txt
var win = function(r) {
- console.log("Should not be called.");
+ console.log("Should not be called.");
}
var fail = function(error) {
// error.code == FileTransferError.ABORT_ERR
- alert("An error has occurred: Code = " + error.code);
- console.log("upload error source " + error.source);
- console.log("upload error target " + error.target);
+ alert("An error has occurred: Code = " + error.code);
+ console.log("upload error source " + error.source);
+ console.log("upload error target " + error.target);
}
var options = new FileUploadOptions();
-options.fileKey="file";
-options.fileName="myphoto.jpg";
-options.mimeType="image/jpeg";
+options.fileKey="file";
+options.fileName="myphoto.jpg";
+options.mimeType="image/jpeg";
var ft = new FileTransfer();
-ft.upload(fileURL, encodeURI("http://some.server.com/upload.php"), win, fail, options);
+ft.upload(fileURL, encodeURI("http://some.server.com/upload.php"), win, fail, options);
ft.abort();
</code></pre></div>
<h2>FileTransferError</h2>
-<p>A <code class="prettyprint">FileTransferError</code> object is passed to an error callback when an error occurs.</p>
+<p>A <code>FileTransferError</code> object is passed to an error callback when an error occurs.</p>
<h3>Properties</h3>
@@ -2953,11 +3086,11 @@ ft.abort();
<h3>Constants</h3>
<ul>
-<li>1 = <code class="prettyprint">FileTransferError.FILE_NOT_FOUND_ERR</code></li>
-<li>2 = <code class="prettyprint">FileTransferError.INVALID_URL_ERR</code></li>
-<li>3 = <code class="prettyprint">FileTransferError.CONNECTION_ERR</code></li>
-<li>4 = <code class="prettyprint">FileTransferError.ABORT_ERR</code></li>
-<li>5 = <code class="prettyprint">FileTransferError.NOT_MODIFIED_ERR</code></li>
+<li>1 = <code>FileTransferError.FILE_NOT_FOUND_ERR</code></li>
+<li>2 = <code>FileTransferError.INVALID_URL_ERR</code></li>
+<li>3 = <code>FileTransferError.CONNECTION_ERR</code></li>
+<li>4 = <code>FileTransferError.ABORT_ERR</code></li>
+<li>5 = <code>FileTransferError.NOT_MODIFIED_ERR</code></li>
</ul>
<h2>Windows Quirks</h2>
@@ -2969,19 +3102,19 @@ ft.abort();
<h2>Backwards Compatibility Notes</h2>
<p>Previous versions of this plugin would only accept device-absolute-file-paths as the source for uploads, or as the target for downloads. These paths would typically be of the form</p>
-<div class="highlight"><pre><code class="language-text" data-lang="text">/var/mobile/Applications/<application UUID>/Documents/path/to/file (iOS)
+<div class="highlight"><pre><code class="language-" data-lang="">/var/mobile/Applications/<application UUID>/Documents/path/to/file (iOS)
/storage/emulated/0/path/to/file (Android)
</code></pre></div>
<p>For backwards compatibility, these paths are still accepted, and if your application has recorded paths like these in persistent storage, then they can continue to be used.</p>
-<p>These paths were previously exposed in the <code class="prettyprint">fullPath</code> property of <code class="prettyprint">FileEntry</code> and <code class="prettyprint">DirectoryEntry</code> objects returned by the File plugin. New versions of the File plugin, however, no longer expose these paths to JavaScript.</p>
+<p>These paths were previously exposed in the <code>fullPath</code> property of <code>FileEntry</code> and <code>DirectoryEntry</code> objects returned by the File plugin. New versions of the File plugin, however, no longer expose these paths to JavaScript.</p>
-<p>If you are upgrading to a new (1.0.0 or newer) version of File, and you have previously been using <code class="prettyprint">entry.fullPath</code> as arguments to <code class="prettyprint">download()</code> or <code class="prettyprint">upload()</code>, then you will need to change your code to use filesystem URLs instead.</p>
+<p>If you are upgrading to a new (1.0.0 or newer) version of File, and you have previously been using <code>entry.fullPath</code> as arguments to <code>download()</code> or <code>upload()</code>, then you will need to change your code to use filesystem URLs instead.</p>
-<p><code class="prettyprint">FileEntry.toURL()</code> and <code class="prettyprint">DirectoryEntry.toURL()</code> return a filesystem URL of the form</p>
-<div class="highlight"><pre><code class="language-text" data-lang="text">cdvfile://localhost/persistent/path/to/file
+<p><code>FileEntry.toURL()</code> and <code>DirectoryEntry.toURL()</code> return a filesystem URL of the form</p>
+<div class="highlight"><pre><code class="language-" data-lang="">cdvfile://localhost/persistent/path/to/file
</code></pre></div>
-<p>which can be used in place of the absolute file path in both <code class="prettyprint">download()</code> and <code class="prettyprint">upload()</code> methods.</p>
+<p>which can be used in place of the absolute file path in both <code>download()</code> and <code>upload()</code> methods.</p>
</div>
@@ -3062,7 +3195,6 @@ ft.abort();
</div>
</footer>
-<script defer type="text/javascript" src="/static/js/lib/prettify/prettify.js"></script>
<script defer type="text/javascript" src="/static/js/index.js"></script>
<script defer type="text/javascript" src="/static/js/twitter.js"></script>
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org