Browse Source

resolve files sent to chmod

PR: 21865


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274955 13f79535-47bb-0310-9956-ffa450edef68
master
Antoine Levy-Lambert 22 years ago
parent
commit
0bd649e567
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/main/org/apache/tools/ant/taskdefs/optional/net/FTP.java

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

@@ -641,7 +641,7 @@ public class FTP
listFile(ftp, bw, dsfiles[i]); listFile(ftp, bw, dsfiles[i]);
break; break;
case CHMOD: case CHMOD:
doSiteCommand(ftp, "chmod " + chmod + " " + dsfiles[i]);
doSiteCommand(ftp, "chmod " + chmod + " " + resolveFile(dsfiles[i]));
transferred++; transferred++;
break; break;
case RM_DIR: case RM_DIR:


Loading…
Cancel
Save