Apache Cordova
  1. Apache Cordova
  2. CB-2095

FileTransfer.abort leaves incomplete file

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.2.0
    • Fix Version/s: 2.3.0, 2.5.0
    • Component/s: Android, iOS
    • Labels:
      None

      Description

      The FileTransfer.abort function will leave the partial file on disk in IOS. Untested in Android.

        Activity

        Show
        Cory Thompson added a comment - https://github.com/coryjthompson/cordova-ios/commit/aea423b008ea5df87c7db6aa77f9d4fcdb2343eb
        Hide
        Shazron Abdullah added a comment -

        Thanks! Send a pull request to the upstream repo and I will pull this in.

        Show
        Shazron Abdullah added a comment - Thanks! Send a pull request to the upstream repo and I will pull this in.
        Show
        Cory Thompson added a comment - https://github.com/apache/cordova-ios/pull/4
        Show
        Shazron Abdullah added a comment - Fix commit - https://git-wip-us.apache.org/repos/asf?p=cordova-ios.git;a=commit;h=8b59a6ca
        Hide
        Cory Thompson added a comment -

        Found this issue also affects android. Fix:
        https://github.com/apache/cordova-android/pull/9

        Thank you

        Show
        Cory Thompson added a comment - Found this issue also affects android. Fix: https://github.com/apache/cordova-android/pull/9 Thank you
        Show
        Andrew Grieve added a comment - Android fix: https://git-wip-us.apache.org/repos/asf?p=cordova-android.git;a=commit;h=dd86d7a5edb817b7be00c31c61db125de4184d2d Added mobile-spec test: https://git-wip-us.apache.org/repos/asf?p=cordova-mobile-spec.git;a=commit;h=3e3d0752a7b4aefdc503c4c0a3a60ee034f941ec

          People

          • Assignee:
            Shazron Abdullah
            Reporter:
            Cory Thompson
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development