ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antoine Lévy-Lambert <anto...@antbuild.com>
Subject AW: ftp del problem
Date Tue, 07 Oct 2003 13:06:23 GMT
Hi Sairam,
can you switch to ant1.6beta ?
In ant1.6beta there is an action rmdir for the ftp task which deletes the
directories in a fileset.

In ant1.6beta, there are also <ssh/> and <scp/> which are more secure than
<ftp/> (but rely on the presence of a ssh server on the remote machine(s)).

Cheers,

Antoine

-----Ursprüngliche Nachricht-----
Von: sairam manda [mailto:manda_sairam@hotmail.com]
Gesendet: Dienstag, 7. Oktober 2003 15:01
An: user@ant.apache.org
Betreff: ftp del problem


Hello Sir,
I using ftp del property to delete files in the server .
I am only able  to delete files and not directories please help me with this
problem.

<target name="clean"  description="Clean generated files">
       <ftp   action="del"
            remotedir="/home/manda/shark"
             server="shark"
             userid="xyz"
             password="xyz"
             ignorenoncriticalerrors="true">
             <fileset >
	          <include name="**"/>
             </fileset>
     </ftp>
</target>
regards
sairam


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message