Re: FTP.isUpToDate()

2005-05-17 Thread Steve Cohen
Antoine Levy-Lambert wrote: Do not worry if you are sure that the current behavior is buggy. Cheers, Antoine Well, I went and logged a bug on the issue thinking that this might provoke a little more discussion. Unfortunately, bugzilla seems to not have sent out an email about it, so it will get

Re: FTP.isUpToDate()

2005-05-17 Thread Antoine Levy-Lambert
> I agree with you. I suppose that with the current code, you can always > "fudge" the granularities by summing them together as timediffmillis in > the above code which is a settable parameter. > > The case I have in mind is this: > > ... > preservelastmodified="true" > newer=

Re: FTP.isUpToDate()

2005-05-16 Thread Steve Cohen
Martijn Kruithof wrote: Steve Cohen wrote: In trying to bring over new commons-net timezone functionaility, I discover the following: protected boolean isUpToDate(FTPClient ftp, File localFile, String remoteFile) throws IOException, BuildException { ...

Re: FTP.isUpToDate()

2005-05-16 Thread Martijn Kruithof
Steve Cohen wrote: In trying to bring over new commons-net timezone functionaility, I discover the following: protected boolean isUpToDate(FTPClient ftp, File localFile, String remoteFile) throws IOException, BuildException { ... if (this.action =

FTP.isUpToDate()

2005-05-15 Thread Steve Cohen
In trying to bring over new commons-net timezone functionaility, I discover the following: protected boolean isUpToDate(FTPClient ftp, File localFile, String remoteFile) throws IOException, BuildException { ... if (this.action == SEND_FILES) {