Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-978

FileTransfer.upload from a directory with a space fails.

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.8.1
    • Fix Version/s: 1.9.0
    • Component/s: cordova-android
    • Labels:
      None

      Description

      If you try to upload from a directory with a space like:

      /sdcard/My Dir/ack.txt

      The Java side will get:

      /sdcard/My%20Dir/ack.txt

      and when we try to open that file it throws a FileNotFoundException.

        Attachments

          Activity

            People

            • Assignee:
              macdonst Simon MacDonald
              Reporter:
              macdonst Simon MacDonald
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: