ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Cohen" <>
Subject RE: FTP 'depends' question
Date Tue, 22 Apr 2003 18:47:17 GMT
There is a known problem not only with the FTP task with the commons-net
(or NetComponents) library on which the task depends, and really, it is
traceable to vagueness in the FTP spec itself - the spec is so vague
that there is no 100% reliable way to read the timestamp on an FTP file
in a machine-independent way.  It is a can of worms.

-----Original Message-----
From: Lopez, William [] 
Sent: Tuesday, April 22, 2003 1:38 PM
To: Ant Users List
Subject: FTP 'depends' question

...just to clarify...the depends attribute in the ftp task needs a
source and another resource (in the remote dir) to compare to determine
what is new? If so, is there a way to test for a newer file within the
source directory when the remote destination is always empty?

Here is the scenario:

-incremental builds (several times a day)
-ftp compiled jars to remote directories (empty staging area)
  >would like to only ftp new jars- currently sending all


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

View raw message