ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dick, Brian E." <Brian.D...@FMR.com>
Subject Error from ftp chmod action
Date Wed, 24 Aug 2005 15:49:54 GMT
I am trying to change the mode of some of my deployment files to
executable by using the ftp task. It's not working. I checked Google,
the ant doc and the commons-net api doc without finding much about
chmod. What am I doing wrong?

Here is my ftp task.

<ftp server="${servername}"
     userid="${username}"
     password="${password}"
     remotedir="${remoteapphome}"
     action="chmod"
     chmod="+x"
>
   <fileset dir=".">
      <patternset refid="exec.fileset"/>
   </fileset>
</ftp>

Here is the output.

[ftp] chmod files
[ftp] Failed to issue Site Command: chmod +x start.csh
[ftp] Failed to issue Site Command: chmod +x stop.csh
[ftp] 2 files mode changed



Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message