You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Olivier Lamy (JIRA)" <ji...@codehaus.org> on 2011/09/22 14:21:17 UTC

[jira] Closed: (WAGON-312) Cannot download folders with spaces via SCP

     [ https://jira.codehaus.org/browse/WAGON-312?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Olivier Lamy closed WAGON-312.
------------------------------

    Resolution: Fixed

patch committed with unit tests.

> Cannot download folders with spaces via SCP
> -------------------------------------------
>
>                 Key: WAGON-312
>                 URL: https://jira.codehaus.org/browse/WAGON-312
>             Project: Maven Wagon
>          Issue Type: Bug
>          Components: wagon-ssh
>    Affects Versions: 1.0-beta-6
>            Reporter: Lóránt Pintér
>            Assignee: Olivier Lamy
>             Fix For: 2.0
>
>         Attachments: wagon-scp-spaces-2.patch, wagon-scp-spaces.patch
>
>
> 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.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira