ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Black <pelican5...@yahoo.com>
Subject ant task ftp
Date Wed, 26 Dec 2012 05:38:28 GMT
Hi,

 
I am using ant to download the files from the server
using FTP.
 
Previously, I am using ant-1.8.4 together with
commons-net-3.1.jar as follows:
 
 
<target name=”ftp”>
<ftp server=”serverName” userid=”xxx” password=”xxx”
action=”get”
  Remotedir=”/home/dir”
newer=”true” timediffauto=”true”>
  <fileset
dir=”../data”>
    <include
name=”${file}*”/>
  </fileset>
</ftp>
 
 
It was running fine.
 
However, recently I changed the (commons-net.3.1.jar)
with (commons-3.2.jar). 
The above program did not work anymore.
When I changed back to 3.1 version, it is still working.

 
Any ideas?


thanks and best regards,
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message