ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erik Hatcher" <>
Subject Re: Problems with FTP task
Date Sat, 15 Dec 2001 00:51:03 GMT
There is a bug in Ant 1.4.1 (and earlier):

If you add remotedir it should work for you.


----- Original Message ----- 
From: "Bryan P. Glennon" <>
To: <>
Sent: Friday, December 14, 2001 6:27 PM
Subject: Problems with FTP task

I can't seem to get the optional FTP task working. I have all the
correct jar files installed (the task works - see debug output below),
but never seems to do anything. I have tried sending files, getting
files, and listing the directory, all with the same result. I have
resorted to copying the example from the docs, and I can't even get it
to work.

Here's the target definition:

  <target name="ftp">
  <ftp action="list" 
       server="serverName"  userid="me" password="mypassword" >
      <include name="**"/>

And here's the relevant section of the output from ant -debug ftp

      [ftp] Opening FTP connection to serverName
      [ftp] connected
      [ftp] logging in to FTP server
      [ftp] login succeeded
      [ftp] disconnecting


So, what am I doing wrong?


Bryan Glennon (
BPG Consulting, Inc. (
Tech Question? (

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message