You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by "Dick, Brian E." <Br...@FMR.com> on 2005/08/24 17:49:54 UTC
Error from ftp chmod action
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