Browse Source

<scp> using <fileset> doesn't work with OpenSSH 3.9 (and later?).

PR: 31939
Submitted by:    Casper Groenen <cgroenen at xebia dot com>
                 Atsuhiko Yamanaka <ymnk at jcraft dot com>


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277253 13f79535-47bb-0310-9956-ffa450edef68
master
Stefan Bodewig 20 years ago
parent
commit
0c24993c98
2 changed files with 4 additions and 1 deletions
  1. +3
    -0
      WHATSNEW
  2. +1
    -1
      src/main/org/apache/tools/ant/taskdefs/optional/ssh/ScpToMessage.java

+ 3
- 0
WHATSNEW View File

@@ -215,6 +215,9 @@ Fixed bugs:
* fixed Regexp-Mapper docs which gave outdated instructions (optional.jar)
Bugzilla report 28584

* <scp> using <fileset> didn't work with OpenSSH 3.9 and later.
Bugzilla report 31939

Changes from Ant 1.6.1 to Ant 1.6.2
===================================



+ 1
- 1
src/main/org/apache/tools/ant/taskdefs/optional/ssh/ScpToMessage.java View File

@@ -112,7 +112,7 @@ public class ScpToMessage extends AbstractSshMessage {
}

private void doMultipleTransfer() throws IOException, JSchException {
Channel channel = openExecChannel("scp -d -t " + remotePath);
Channel channel = openExecChannel("scp -r -d -t " + remotePath);
try {
OutputStream out = channel.getOutputStream();
InputStream in = channel.getInputStream();


Loading…
Cancel
Save