Download Firefox: WindowsMac OS X
logo       
Google Custom Search
    AddThis Social Bookmark Button

Re: ftp-ing only new files: msg#00531

Subject: Re: ftp-ing only new files
----- Original Message -----
From: "Denis McCarthy" <dmccarthy@xxxxxxxxxxxxxxxx>
To: "Ant Users List" <ant-user@xxxxxxxxxxxxxxxxxx>
Sent: Tuesday, March 26, 2002 3:04 AM
Subject: ftp-ing only new files
>

Hi there,
>I am using ant to build a java/jsp project on my local machine and ftp the
classes to a unix box remotely.
>At the moment each time I deploy the project, all files are ftp'd across,
regardless of whether they are
>newer than the ones on the unix box or not.
>I thought that if I set the "depends=yes" option in the ftp task, only
newer files would be transferred. >Unfortunately, all files are still ftp'd
each time.

it should work; certainly it works for me.

If the dest was a NT box I would have a solution, but nothing springs to
mind for your problem. Run in -debug and see if that provides more info,
otherwise you are going to have to debug ftp.


<Prev in Thread] Current Thread [Next in Thread>