ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erik Hatcher" <jakarta-...@ehatchersolutions.com>
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):

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

If you add remotedir it should work for you.

    Erik


----- Original Message ----- 
From: "Bryan P. Glennon" <bryan@bpgc.com>
To: <ant-user@jakarta.apache.org>
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" 
       listing="tt.txt" 
       server="serverName"  userid="me" password="mypassword" >
       
    <fileset>
      <include name="**"/>
    </fileset>
  </ftp>
  </target>

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

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

BUILD SUCCESSFUL

So, what am I doing wrong?

Thanks,
Bryan

--
Bryan Glennon (mailto:bryan@bpgc.com)
BPG Consulting, Inc. (http://www.bpgc.com)
Tech Question? (mailto:techQuestion@bpgc.com)

--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>




--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message