ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 25668] New: - FTP get actions won't download files
Date Fri, 19 Dec 2003 22:18:02 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25668>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25668

FTP get actions won't download files

           Summary: FTP get actions won't download files
           Product: Ant
           Version: 1.6.0
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Critical
          Priority: Other
         Component: Optional Tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: krothe@merc-int.com


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.

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


Mime
View raw message