Hi,
 I'm trying to FTP files and directories.
The build is successful but 0 files are retrieved.
Any clues ????
 
I have pasted the xml code below.
 
Regards,
Jyoti.
 
 
 
<?xml version="1.0"?>
 

<project name="Ant" default="main" basedir=".">
 
  <!-- Give user a chance to override without editing this file
       (and without typing -D each time it compiles it) -->
  <target name="init" >
        <taskdef name="ftp" classname="org.apache.tools.ant.taskdefs.optional.FTP" />
  </target>
 
  <target name="main" depends="init">
       
        <ftp   action="get"
               server="202.54.90.21"
               remotedir="/source"
               userid="administrator"
               password="admin123"
        >
            <fileset dir="c:\riskExchange" >
             <include name="**/*" />
             <exclude name="." />
             <exclude name=".." />
            </fileset>
       </ftp>
  </target>
</project>
 
 

Reply via email to