[
https://issues.apache.org/jira/browse/CB-6466?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13977127#comment-13977127
]
ASF GitHub Bot commented on CB-6466:
------------------------------------
GitHub user stacic opened a pull request:
https://github.com/apache/cordova-plugin-file-transfer/pull/28
CB-6466 Auto-create directories in download
Bringing WP8 in line with the other platforms to automatically create
missing directories in filetransfer.download().
I'm using automatic code cleaning, which also removed a bunch of new lines
and properly indented a block of code that was indented one space too many.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/stacic/cordova-plugin-file-transfer
wp8-file-transfer
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/cordova-plugin-file-transfer/pull/28.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #28
----
commit 2043b4e8b087f6d112883beaefbd5825de29d3dc
Author: Staci <[email protected]>
Date: 2014-04-22T17:40:56Z
CB-6466 Auto-create directories in download
Bringing WP8 in line with the other platforms to automatically create
missing directories in filetransfer.download().
----
> WP8 filetransfer.download() should auto mkdir missing folders
> -------------------------------------------------------------
>
> Key: CB-6466
> URL: https://issues.apache.org/jira/browse/CB-6466
> Project: Apache Cordova
> Issue Type: Bug
> Components: Plugin File Transfer, WP8
> Affects Versions: 3.4.0
> Reporter: Mike Billau
> Assignee: Jesse MacFadyen
>
> Windows Phone 8 implementation of FileTransfer.download() does not
> automatically create any missing directories when saving a file. The iOS and
> Android implementations do.
> If target = /foo/bar.jpg and /foo/ doesn't exist, WP8 should create it to
> bring the platform in line with iOS and Android.
> This mail thread shows that we've decided that FileTransfer should be
> "slightly more than" a thin wrapper on the File plugin (which has an API.)
> http://markmail.org/message/cxy66pe23oyguoal
--
This message was sent by Atlassian JIRA
(v6.2#6252)