ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Richard Grey <haam...@haamdhani.com>
Subject FTP optional task and chmod
Date Tue, 28 Sep 2004 10:22:42 GMT
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


Mime
View raw message