ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "sairam manda" <manda_sai...@hotmail.com>
Subject ftp rmdir problem
Date Fri, 10 Oct 2003 11:09:58 GMT
Hello ,
   I have problem with  ftp rmidr.
      I have the following directory stucture
      /home/manda/temp/shark/example/subdir
      /home/manda/temp/shark/example/subdir2
I want to delete  entire shark directory .

I call first the target clean it works fine and then i call removedir  that 
results   with an error

BUILD FAILED
C:\tar\build.xml:40: could not remove directory: 550 shark: Directory not 
empty.

I used the following code .



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

</target>


<target name="removedir">
    <ftp action="rmdir"
           server="shark"
           userid="xyz"
           password="xyz"
           remotedir="/home/manda/temp">
        <fileset>
          <include name="**""/>
        </fileset>
      </ftp>
</target>
can somebody help with this problem.
regards
sairam

_________________________________________________________________
MSN Hotmail now on your Mobile phone. 
http://server1.msn.co.in/sp03/mobilesms/ Click here.


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


Mime
View raw message