Java Mailing List Archive

http://www.ant-tasks.com/

Home » Ant Users List »

FTP task

John Cartwright

2010-02-08

Replies: Find Java Web Hosting

Author LoginPost Reply
Hello All,

I'm trying a simple FTP task w/ v. 1.8.0 and it seems to connect OK, but
hangs at the execution of the list command. Can someone please point
out what I'm doing wrong?

Thanks!

--john


<?xml version="1.0" ?>
<project name="testme" default="ftptest">

<target name="ftptest">
  <ftp action="list"
    listing="toc.txt"
    server="ftp.ngdc.noaa.gov"
    userid="anonymous"
    password="anonymous">
 <fileset dir="hazards">
   <include name="**/*.jpg"/>
  </fileset>
</ftp>
</target>

</project>


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)

©2008 ant-tasks.com - Jax Systems, LLC, U.S.A.