Uploaded image for project: 'Maven Wagon'
  1. Maven Wagon
  2. WAGON-312

Cannot download folders with spaces via SCP

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0-beta-6
    • Fix Version/s: 2.0
    • Component/s: wagon-ssh
    • Labels:
      None
    • Flags:
      Patch

      Description

      Downloading files via SCP fails when some folder names contain spaces. The problem is caused by paths not being properly escaped when executing commands. See attached patch for a primitive fix – this fixes the problem in most cases, but proper escaping would be more welcome.

        Attachments

        1. wagon-scp-spaces.patch
          2 kB
          Lóránt Pintér
        2. wagon-scp-spaces-2.patch
          4 kB
          Lóránt Pintér

          Issue Links

            Activity

              People

              • Assignee:
                olamy Olivier Lamy
                Reporter:
                lptr Lóránt Pintér
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: