ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "JYOTI GAWALI" <jyoti.gaw...@wipro.com>
Subject Problem in FTP on WINNT OS.
Date Thu, 15 Feb 2001 11:23:03 GMT
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>



Mime
View raw message