--- Denis McCarthy <[EMAIL PROTECTED]> wrote:
> The behaviour seems funny;  each time I ftp the files across to my AIX
> machine, they are given as a new timestamp the time at which they were
> ftp'd. It seems that with this behaviour the files will all be ftp'd
> across each time, because the ftp process will think that the files I
> want to ftp across were created right then, and thus are newer than the
> ones on the AIX machine.

Are you saying your -local- files end up with a time-of-the-ftp mod time? 
That would seem very odd indeed. Is your local machine a Win*, which I
think has both an access and a mod time, right? -- so maybe it's the
access time that's being set?

On the other hand, I've just pulled up FTP.java, and there's a block of
code in there that might be pertinent:
// For Microsoft's Ftp-Service an Array with length 0 is
// returned if configured to return listings in "MS-DOS"-Format
  if (files == null || files.length == 0)
  {
    // If we are sending files, then assume out of date.
    // If we are getting files, then throw an error

    if( action == SEND_FILES ) {
      log("Could not date test remote file: " + remoteFile
                    + "assuming out of date.", Project.MSG_VERBOSE);
      return false;
    } else {
      throw new BuildException("could not date test remote file: " +
                                         ftp.getReplyString());
    }
  }

If you are on a Win*, do you see that log output when you run -verbose?

Diane

=====
([EMAIL PROTECTED])



__________________________________________________
Do You Yahoo!?
Yahoo! Movies - coverage of the 74th Academy Awards�
http://movies.yahoo.com/

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to