You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Richard Grey <ha...@haamdhani.com> on 2004/09/28 12:22:42 UTC
FTP optional task and chmod
I'm trying to do a chmod via the optional ftp task, but all I'm getting in the verbose output is the following under ant v1.6.2. Anybody any clues ?
[ftp] Doing Site Command: chmod 755 schedulerDaemon.sh
[ftp] Failed to issue Site Command: chmod 755 schedulerDaemon.sh
or
[ftp] Doing Site Command: chmod 111 schedulerDaemon.sh
[ftp] Failed to issue Site Command: chmod +x schedulerDaemon.sh
Ant target snippet:
<ftp server="${remote.host}" userid="${remote.user}" password="${remote.pwd}" remotedir="${daemon.bin.dir}" chmod="755">
<fileset dir="." includes="schedulerDaemon.sh" />
</ftp>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org