Commit Graph
22 Commits
Author SHA1 Message Date
biodivandsgrebnov dcc98db15f CB-8816 Add cdvfile:// support on windows
github close #70
2015-08-03 16:32:20 +03:00
Vladimir Kotikov 3effd7f1fe CB-8931 Replace all slashes in windows path 2015-05-07 09:23:48 +03:00
Vladimir Kotikov 918b2cf8d2 CB-8583 Forces download to overwrite existing target file 2015-04-02 13:43:07 +03:00
Vladimir Kotikov 6ed66a4f29 CB-8589 Fixes upload failure when server's response doesn't contain any data 2015-04-02 13:41:12 +03:00
Steve Gill 0530d90fb0 CB-8683 changed plugin-id to pacakge-name 2015-04-01 19:11:23 -07:00
Jan Visser 569568f8b4 Replace all slashes in windows path
Instead of just the first one
2015-04-01 12:50:37 +02:00
alsorokinandsgrebnov 3ff8382929 CB-8590 (Windows) Fixed download.onprogress.lengthComputable
github close #67
2015-03-05 12:24:57 +03:00
Vladimir KotikovandJesse MacFadyen 314677c0c3 Fixes typo, introduced in https://github.com/apache/cordova-plugin-file-transfer/commit/bc43b46 2015-02-11 17:46:04 -08:00
Vladimir KotikovandJesse MacFadyen 5ee666ce0b CB-8407 Use File proxy to construct valid FileEntry for download success callback
Due to changes in file plugin (https://github.com/apache/cordova-plugin-file/commit/bcbeae24cd24583b790da95e0e076492eb16cd4f) result of download method should now have filesystemName specified for proper work. This updates download method to construct FileEntry properly, using File plugin proxy.
2015-02-11 17:46:03 -08:00
Vladimir KotikovandJesse MacFadyen 28189e54f3 CB-8407 Removes excess path to native path conversion in download method
This fixes file transfer download tests failures, when target file is specified by ms-appdata:/// uri on Windows.
2015-02-11 17:46:03 -08:00
Vladimir KotikovandJesse MacFadyen 837771c4c6 CB-8095 Fixes JSHint and formatting issues 2015-02-11 17:46:00 -08:00
Vladimir KotikovandJesse MacFadyen e781bceba7 CB-8095 Rewrite upload method to support progress events properly
* Uses backgroundUploader class instead of XHR
* Returns proper response body in case of error
2015-02-11 17:45:59 -08:00
Jesse MacFadyen e6e44aaa2f removed unneeded String() casting all over the place, fixed my own missing ) error 2014-12-05 16:13:49 -08:00
Jesse MacFadyen 71bd73ec9c exec guarentees that proxy is called with success/error function so there is no need to constantly check that it exists 2014-12-05 15:58:16 -08:00
Jesse MacFadyen 7fbab9fa1c Error callback should always be called with the FileTransferError object, and not just the code 2014-12-05 15:51:58 -08:00
Jesse MacFadyen cea07c08d5 alias appData to Windows.Storage.ApplicationData.current 2014-12-05 15:40:02 -08:00
Jesse MacFadyen 941e81ef22 Alias FileTransferError to FTErr to save some horizontal space 2014-12-05 15:24:46 -08:00
Vladimir Kotikov 80aa828021 CB-8093 Fixes incorrect FileTransferError returned in case of download failure 2014-11-27 18:32:34 +03:00
Vladimir Kotikov 223191f9bc Construct proper FileEntry with nativeURL property set 2014-09-12 16:02:31 +04:00
Vladimir Kotikov 2b86a85c74 CB-7532 Handle non-existent download dirs properly 2014-09-12 16:02:31 +04:00
Vladimir Kotikov 49c57d27b3 CB-7529 Adds support for 'ms-appdata' URIs for windows 2014-09-12 10:10:33 +04:00
Vladimir Kotikov ad0382e24c CB-7316 Adds support for Windows platform, moves *Proxy files to proper directory. 2014-08-18 10:07:50 +04:00