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

Cannot download folders with spaces via SCP

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0-beta-6
    • 2.0
    • wagon-ssh
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: