ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antoine Levy Lambert <anto...@gmx.de>
Subject Re: ant task ftp
Date Thu, 10 Jan 2013 03:00:10 GMT
Hello Joe,

this looks like a bug or incompatibility between ant and this new version of commons-net.

It would be good if you can create a bug report in bugzilla ( http://issues.apache.org/bugzilla
)

What would be great is if you could start digging in the source code of ant and commons-net
to understand why the ftp does not work with commons-3.2.jar.

Does the build hang ? Is there an extra dependency which is missing ? 

Patches are welcome :-)

Regards,

Antoine
On Dec 26, 2012, at 12:38 AM, Joe Black wrote:

> 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,


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


Mime
View raw message