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:[EMAIL PROTECTED]
Gesendet: Dienstag, 7. Oktober 2003 15:01
An: [EMAIL PROTECTED]
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to