ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bryan P. Glennon" <br...@bpgc.com>
Subject Problems with FTP task
Date Fri, 14 Dec 2001 23:27:49 GMT
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>


Mime
View raw message