The FTP get action returns success but does not get files.
Environment:
------------
ant 1.6.0 (downloaded December 18th)
Windows 2000 Server
JAVA_HOME=c:\jsdk1.4.1_02
ANT_HOME=c:\ant1.6
ANT_OPTS=-Xmx128m
ClassPath=c:\ant1.6\apache-ant-1.6.0\lib
Steps to reproduce:
-------------------
1. Create an anonymous ftp server on a windows localhost
2. Create the following target (substitute the server and login credentials as
necessary):
<target name="downloadftp">
<ftp action="get"
server="krothe"
userid="anonymous"
password=""
verbose="yes"
passive="yes"
separator="\"
<fileset dir="c:\">
<include name="linux.md5"/>
</fileset>
</ftp>
</target>
3. run the following ant command from the location of your build.xml:
ant downloadftp
Note that the following output appears on std. out:
downloadftp:
[ftp] getting files
[ftp] 0 files retrieved
BUILD SUCCESSFUL
Total Time: 2 seconds
No matter what settings I try the get action does not work.